Add Comment
|
Related Links
|
TrackBack
rsync with server on non-standard SSH portRecently, I've moved some of my web sites over to a hosting service with WebHostingBuzz. WebHostingBuzz provides SSH access, except it uses a non-standard port (not port 22). So when I do rsync to transfer files, I had to use the following form: rsync [OPTION]... rsync://[USER@]HOST[:PORT]/SRC [DEST] Problem is, rsync kept returning the following error message: rsync: server sent "SSH-2.0-OpenSSH_3.9p1" rather than greeting I was stumped for a while. So I did a search for 'server sent "SSH-2.0-OpenSSH_3.9p1" rather than greeting' on Google. The only site it returned is a German page titled, "SELFHTML Forumsarchiv / 2007 / M�rz / rsync mit anderen Port". After a bit of guessing and BabelFish translation, I figured out that you have to specify the remote shell with the "-e" switch. So the final command that worked is rsync [OPTION] -e "ssh -p PORT" ... [USER@]HOST:SRC [DEST] Chieh Cheng thanks! didn't find the answer on the man also neo Thank you, I'd encountered the same issue and got the issue resolved follow the approach mentioned Weiqiang Bu Thank you for posting this! They should really add this to the man, its still not there in 2017... Adam S. Amazing how something posted over a decade ago is still so useful today! It worked flawlessly from me... in 2018! Thanks so much! Gwyneth Llewelyn
Add Comment
|
Related Links
|
TrackBack
Did your message disappear? Read the Forums FAQ. TrackBackTrackBack only accepted from WebSite-X Suite web sites. Do not submit TrackBacks from other sites. Send Ping | TrackBack URL | Spam Control Related LinksAdd CommentSpam Control | * indicates required field Messages, files, and images copyright by respective owners. |
Articles
|
Wiki
161 Users Online
|
Copyright © 2004 - 2024. All Rights Reserved. |