scrapo(a)saswatabanerjee.com wrote:
>-----Original Message-----
>
>From: Kenneth Gonsalves <lawgon(a)thenilgiris.com>
>Subj: Re: [ILUG-BOM] Err messages on ssh login
>Date: Sat 3 Dec 2005 16:23
>Size: 381 bytes
>To: "GNU/Linux Users Group, Mumbai, India" <linuxers(a)mm.ilug-bom.org.in>
>
>On Saturday 03 Dec 2005 3:47 pm, Arun K. Khan wrote:
>
>
>>Also, it is not a good practice to login as root even over a ssh
>>link.
>>
>>
True!
What you actually should be doing is log in as some user (who has
restricted account) and then "su".
>>i thought that sshd by default does not permit root loging?
>>
>>
>
>We often connect from remote machines to the server to administer the system, make changes etc. If root can not log in on sshd then how do we do this ?
>
>
For different distros, default sshd options may vary depending on how it
was compiled and packaged. But you can prohibit root logins by
specifying option in /etc/sshd/sshd_config
------ sshd_config (or whatever sshd config file is) ------
PermitRootLogin no
------ ------
Usually root login is allowed using sshd.
Regards,
--
Sameer N. Ingole
/*****************************************************/
Better to light one candle than to curse the darkness.
/*****************************************************/