Dale E Martin wrote:
Anyways, I would like to disable password logins for root
/etc/ssh/sshd_config:
PermitRootLogin no
You will have to login as ordinary user, and than do "su -".
Use tcpwrappers to limit users and IP addresses:
/etc/hosts.allow:
sshd: [EMAIL PROTECTED]
but it works only if sshd is compiled with libwrap.so.0, or if it is controlled by inetd (see intetd.conf, or xinetd.conf). If you use standalone ssh daemon, try
ldd /usr/sbin/sshd
If there is no libwrap, you will have to compile source code with this flag:
--with-libwrap
Hope it helps.
Aco Dmitrovic University Computing Centre Zagreb Croatia
-- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]