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?
IT업계에 종사자의 잡다구리 블로그