sftp on different port than 22?
Stefan Teuscher <[email protected]>
| Newsgroups | gmane.comp.web.sitecopy |
|---|---|
| Message-ID | <[email protected]> |
Hi Joe, many thanks for implementing sftp to sitecopy. I just compiled the new version on cygwin and tested it. My first test in the office: Because of different firewall reasons in my office I had to change the ssh-port at my server from port 22 to 21. But it seems that sitecopy ignores the "port" directive when using protocol sftp. sitecopy wants to connect the server but times out: "ssh: connect to host xxx.com port 22: Connection timed out Connection closed" In .sitecopyrc-file I made the the following etries: server xxx.com protocol sftp port 21 username yyy ... Btw: I can connect to my server via sftp with putty-sftp with and with sftp under cygwin with "sftp -oPort=21 xxx.com". So the connection works, that's not the problem. My second test at home: First the same problem as described above. But at home I have no firewall problems and I can use any port I want. So I reconfigured my server to work ssh on port 22. Result: All works correct! Fine! But: The connection was at port 22, not 21 which I configured at .sitecopyrc. So it seems that sfpt can only connect on port 22 even when reconfigured in .sitecopyrc to another port. Can you help me? Stefan _______________________________________________ sitecopy maillist - [email protected] http://dav.lyra.org/mailman/listinfo/sitecopy