Hi,

In /etc/ssh/sshd_config
PermitRootLogin no
To
PermitRootLogin yes

----- Original Message ----- 
From: "Zhihui Zhang" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, November 27, 2002 10:28 PM
Subject: how to ssh as root


> 
> I used to ssh as root to a FreeBSD box and uses the root password.
> Today, I reinstall 4.5-Release and try the same thing:
> 
> $ ssh -l root mymachine
> otp-md5 100 pl6491 ext
> S/Key Password:
> 
> I was expecting something like:
> 
> $ ssh -l root mymachine
> root@mymachine's password: 
> 
> I did set PermitRootLogin to yes in file /etc/ssh/sshd_config. Why this
> change?
> 
> Thanks.
> 
> -Zhihui
> 
> 
> To Unsubscribe: send mail to [EMAIL PROTECTED]
> with "unsubscribe freebsd-questions" in the body of the message
> 

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message

Reply via email to