- snip -

$ sudo grep -i Root /etc/ssh/sshd_config
Password    (enter satimis password)
sendmail: Cannot open mail:25
satimis is not in the sudoers file.  This incident will be reported.


The sudo is for a regular user to have root permissions. The user needs to be in the sudoers file & needs to enter _their own_ password.

But ignore that. Login as root &
  # grep -i Root /etc/ssh/sshd_config
Then log out again.

# sudo grep -i Root /etc/ssh/sshd_config #PermitRootLogin yes

You should be doing this on the machine which you are unable to ssh into; IE 192.168.0.2

# ssh -l root 192.168.0.2 ssh: connect to host 192.168.0.2 port 22: Connection refused

Can you ssh into that machine as regular user..?

Yes. I use it quite often $ ssh -X [EMAIL PROTECTED] [EMAIL PROTECTED]'s password: Permission denied, please try again. [EMAIL PROTECTED]'s password: Last login: Sun Nov 9 00:08:54 2003 from localhost.localdomain

Thanks

B.R.
Stephen


-- [EMAIL PROTECTED] mailing list



Reply via email to