[PLUG] Public SSH server configs

Paul Heinlein heinlein at madboa.com
Mon Apr 10 17:27:42 UTC 2017


On Mon, 10 Apr 2017, Rich Shepard wrote:

> Then a port change does provide many benefits without indentified
> problems.

The only issue -- I wouldn't call it a problem -- is that you have 
retool for using a different port.

Firewall settings will have to change, for sure.

The CLI invocations change:

   ssh -p 9999 my.host
   scp -P 9999 foo.txt my.host:/var/tmp
   rsync -e 'ssh -p 9999' /some/dir/ my.host:/that/dir/

For a lot of command-line work, you can hide the port definition in 
your ~/.ssh/config file:

# ${HOME}/.ssh/config
Host my.host
   Port 9999
# end of file

-- 
Paul Heinlein <> heinlein at madboa.com <> http://www.madboa.com/



More information about the PLUG mailing list