SSH connection problem

Zhengguo Xu tworiversfolk at gmail.com
Thu Sep 11 15:28:01 UTC 2008


ok, firstly, Dustin you're right. a) DESKTOP to LAPTOP is ok b) LAPTOP to
DESKTOP is NOT OK

i didn't know the process sshd exist until Mark and you mentioned it (well,
I'm a newbie as you can see). so i checked the system monitor in both pcs.

at first, i didn't find it on any of the pc. however, when i connect from
desktop to laptop, there's "sshd:MYNAME at NOTTY" running on laptop.

i installed openssh-server on both machines and as far as i remember i
didn't do any more configuration. so i have no idea why sshd is runing
automatically on laptop but not on the other.

how should i start sshd?

i googled and the first several results are from Ubuntu forum :-)

according to some post i should:

/etc/init.d/sshd restart

however, i don't have sshd under /etc/init.d/, only ssh. so i did:

sudo /etc/init.d/ssh start

output is:

 * Starting OpenBSD Secure Shell server sshd                             [
OK ]

after that i tried to connect from laptop again but to no avail.

netstat -an | grep 22 | grep LISTEN gives:

tcp6       0      0 :::22                   :::*
LISTEN
unix  2      [ ACC ]     STREAM     LISTENING     29681
/tmp/orbit-anotherpcname/linc-1c75-0-1da3daf222050
unix  2      [ ACC ]     STREAM     LISTENING     32322
/tmp/orbit-anotherpcname/linc-1d74-0-380e8440f14f2
unix  2      [ ACC ]     STREAM     LISTENING     32524
/tmp/orbit-anotherpcname/linc-1d78-0-4a73be62218ae

i can conect desktop locally ("ssh localhost" works).

so any suggestion?

thanks again.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20080911/61124d3e/attachment.html>


More information about the ubuntu-users mailing list