Re: Security basics

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux