Restricting ssh
Timothy Murphy
gayleard at eircom.net
Fri Jan 7 00:41:14 UTC 2011
On Friday, January 07, 2011 12:41:39 am Frank Cox wrote:
> > Can I configure it [sshd] 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.
Thanks for your response.
But could you explain more fully how to do this.
I find sshd_config more or less unintelligible.
> You can also run sshd on a port that isn't 22, which will cut down on the
> entries in your log file.
I do that already.
--
Timothy Murphy
e-mail: gayleard /at/ eircom.net
tel: +353-86-2336090, +353-1-2842366
s-mail: School of Mathematics, Trinity College, Dublin 2, Ireland
More information about the users
mailing list