rsync 사용 시 ssh 포트 변경 방법

LINUX IT

How to change default port of the ssh when using rsync on my linux machine?
it’s easy, just use -e option with rsync command.

다음과 같이 -e 옵션을 사용해주면 rsync 접속 포트를 변경할 수 있다.

rsync -avz -e ‘ssh -p 8888’ id@host:/path

very simple. isn’t it?

댓글 남기기