<div dir="ltr"><br><br><div class="gmail_quote">2008/9/11 Dustin Breese <span dir="ltr"><<a href="mailto:dustin.breese@gmail.com" target="_blank">dustin.breese@gmail.com</a>></span><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Cool, good job in debugging.<br>
<br>
Now, your netstat output shows that the listener is only using ipv6,<br>
so lets try forcing it to ipv4. No idea if this is the issue or not<br>
-- Does your laptop show the same netcat output?<br>
<br>
To force to IPV4 on your desktop:<br>
$ sudo vi /etc/ssh/sshd_config<br>
<br>
At the top, uncomment<br>
ListenAddress <a href="http://0.0.0.0" target="_blank">0.0.0.0</a><br>
<br>
And then<br>
$ sudo /etc/init.d/ssh restart</blockquote><div><br>ok, i did exact that.<br><br> sudo /etc/init.d/ssh restart<br> * Restarting OpenBSD Secure Shell server sshd [ OK ] <br> <br></div></div>still, when i tried to connect from laptop, it didn't work. <br>
<br>netcat out put from laptop is not the same as the one from desktop. <br><br>from desktop:<br>tcp 0 0 <a href="http://0.0.0.0:22" target="_blank">0.0.0.0:22</a> 0.0.0.0:* LISTEN <br>
unix 2 [ ACC ] STREAM LISTENING 29681 /tmp/orbit-xinyue/linc-1c75-0-1da3daf222050<br>
unix 2 [ ACC ] STREAM LISTENING 32322 /tmp/orbit-xinyue/linc-1d74-0-380e8440f14f2<br>unix 2 [ ACC ] STREAM LISTENING 32524 /tmp/orbit-xinyue/linc-1d78-0-4a73be62218ae<br><br>from laptop:<br>
tcp6 0 0 :::22 :::* LISTEN <br>unix 2 [ ACC ] STREAM LISTENING 21735 /tmp/orbit-zhengguo/linc-177a-0-3b77f1c4f2228<br>unix 2 [ ACC ] STREAM LISTENING 22252 /tmp/scim-bridge-0.3.0.socket-1000@localhost:0.0<br>
unix 2 [ ACC ] STREAM LISTENING 22777 /tmp/orbit-zhengguo/linc-1801-0-354a40bdf22b0<br>unix 2 [ ACC ] STREAM LISTENING 22810 /tmp/orbit-zhengguo/linc-1803-0-28fd485411c25<br><br>ps -ef | grep fire gives only firefox.<br>
<br>ssh -w:<br><br>ssh: option requires an argument -- w<br>usage: ssh [-1246AaCfgKkMNnqsTtVvXxY] [-b bind_address] [-c cipher_spec]<br> [-D [bind_address:]port] [-e escape_char] [-F configfile]<br> [-i identity_file] [-L [bind_address:]port:host:hostport]<br>
[-l login_name] [-m mac_spec] [-O ctl_cmd] [-o option] [-p port]<br> [-R [bind_address:]port:host:hostport] [-S ctl_path]<br> [-w local_tun[:remote_tun]] [user@]hostname [command]<br><br>it seems i need to type sth more but i have no idea what.<br>
<br><br>by the way, did it matter that i installed packages like apache, mysql etc on desktop (since it was used as server) but not on laptop?<br>
</div>