Restricting ssh

Frank Cox theatre at sasktel.net
Thu Jan 6 23:41:39 UTC 2011


On Fri, 07 Jan 2011 00:28:47 +0100
Timothy Murphy wrote:

> Can I configure it so that it only accepts connection
> from certain machines, wherever they may be in the world?

Set ssh to accept only keys and not passwords.   Install a key on each
authorized computer.   Done.

You can also run sshd on a port that isn't 22, which will cut down on the
entries in your log file.

-- 
MELVILLE THEATRE ~ Melville Sask ~ www.melvilletheatre.com
www.creekfm.com - FIFTY THOUSAND WATTS of POW WOW POWER!


More information about the users mailing list