New answers tagged scp
4
Yes, of course you have to:
rsync -e 'ssh -p 222' ...
or:
RSYNC_RSH='ssh -p 222' rsync ...
Alternatively, you can specify in ~/.ssh/config that ssh connections to that host are to be on port 222 by default:
Host that-host
Port 222
2
You could try using a ssh tunnel.
For example, on your computer, enter the following command (and keep the connection open):
ssh -L 12345:SERVER-A:22 user@SERVER-0.
This way, you can now connect Nautilus to localhost:12345, and it will connect you to SERVER-A, via SERVER-0.
Depending on your configuration, you may need to authorize the forwarding to a ...
Top 50 recent answers are included
