SSH connection problem

Dustin Breese dustin.breese at gmail.com
Thu Sep 11 16:45:41 UTC 2008


Not "-w" but "-vv" ....that's "MINUS v v"... Stands for verbose debug info.

Also, did you try my other suggestion in prior emails on desktop to
force desktop to bind to IPV4?

<snip>
To force to IPV4 on your desktop:
$ sudo vi /etc/ssh/sshd_config

At the top, uncomment
ListenAddress 0.0.0.0

And then
$ sudo /etc/init.d/ssh restart
</snip>

Regards,
Dustin

On Thu, Sep 11, 2008 at 10:26 AM, Zhengguo Xu <tworiversfolk at gmail.com> wrote:
>
>
> 2008/9/11 Dustin Breese <dustin.breese at gmail.com>
>>
>> Cool, good job in debugging.
>>
>> Now, your netstat output shows that the listener is only using ipv6,
>> so lets try forcing it to ipv4.  No idea if this is the issue or not
>> -- Does your laptop show the same netcat output?
>>
>> To force to IPV4 on your desktop:
>> $ sudo vi /etc/ssh/sshd_config
>>
>> At the top, uncomment
>> ListenAddress 0.0.0.0
>>
>> And then
>> $ sudo /etc/init.d/ssh restart
>
> ok, i did exact that.
>
>  sudo /etc/init.d/ssh restart
>  * Restarting OpenBSD Secure Shell server sshd                           [
> OK ]
>
> still, when i tried to connect from laptop, it didn't work.
>
> netcat out put from laptop is not the same as the one from desktop.
>
> from desktop:
> tcp        0      0 0.0.0.0:22              0.0.0.0:*
> LISTEN
> unix  2      [ ACC ]     STREAM     LISTENING     29681
> /tmp/orbit-xinyue/linc-1c75-0-1da3daf222050
> unix  2      [ ACC ]     STREAM     LISTENING     32322
> /tmp/orbit-xinyue/linc-1d74-0-380e8440f14f2
> unix  2      [ ACC ]     STREAM     LISTENING     32524
> /tmp/orbit-xinyue/linc-1d78-0-4a73be62218ae
>
> from laptop:
> tcp6       0      0 :::22                   :::*
> LISTEN
> unix  2      [ ACC ]     STREAM     LISTENING     21735
> /tmp/orbit-zhengguo/linc-177a-0-3b77f1c4f2228
> unix  2      [ ACC ]     STREAM     LISTENING     22252
> /tmp/scim-bridge-0.3.0.socket-1000 at localhost:0.0
> unix  2      [ ACC ]     STREAM     LISTENING     22777
> /tmp/orbit-zhengguo/linc-1801-0-354a40bdf22b0
> unix  2      [ ACC ]     STREAM     LISTENING     22810
> /tmp/orbit-zhengguo/linc-1803-0-28fd485411c25
>
> ps -ef | grep fire gives only firefox.
>
> ssh -w:
>
> ssh: option requires an argument -- w
> usage: ssh [-1246AaCfgKkMNnqsTtVvXxY] [-b bind_address] [-c cipher_spec]
>            [-D [bind_address:]port] [-e escape_char] [-F configfile]
>            [-i identity_file] [-L [bind_address:]port:host:hostport]
>            [-l login_name] [-m mac_spec] [-O ctl_cmd] [-o option] [-p port]
>            [-R [bind_address:]port:host:hostport] [-S ctl_path]
>            [-w local_tun[:remote_tun]] [user@]hostname [command]
>
> it seems i need to type sth more but i have no idea what.
>
>
> 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?
>
> --
> ubuntu-users mailing list
> ubuntu-users at lists.ubuntu.com
> Modify settings or unsubscribe at:
> https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
>
>




More information about the ubuntu-users mailing list