Security basics
Andy Green
andy at warmcat.com
Wed Oct 3 20:34:14 UTC 2007
Somebody in the thread at some point said:
> With a nonstandard port you do have to remember to use the -p parameter of ssh
> to connect (and the -P parameter of scp) but in my opinion it's worth it.
Oooh I'm going to make your day then... I used -p / -P for a long while
without complaint. Then I discovered one can set up a two line stanza
per server in the client side ~/.ssh/config:
Host some.server.com
Port 12345
will magically get ssh and scp to "know" the correct default port for
any ssh activity to some.server.com. COOL! That and ssh-agent holding
passphrases: safe ssh on a random listening port is really transparent
and easy.
-Andy
More information about the fedora-list
mailing list