On Nov 8, 2003, at 4:47 pm, Stephen Liu wrote:
Hi Stroller,
Thanks for your advice.
- snip -
# ssh -l root 192.168.0.2 ssh: connect to host 192.168.0.2 port 22: Connection refused
How to get it connected? Thanks
$ 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.
You should be doing this on the machine which you are unable to ssh into; IE 192.168.0.2
Can you ssh into that machine as regular user..?
Stroller.
-- [EMAIL PROTECTED] mailing list