[Gllug] Ssh Debugging

JLMS jjllmmss at googlemail.com
Mon Feb 27 23:51:13 UTC 2012


On 25 February 2012 20:44, Mick Farmer <mick at dcs.bbk.ac.uk> wrote:
> Dear GLLUGers,
>
> I've recently upgraded to FTTC from Plusnet and now get 20+
> Mbps download speeds.
>
> The downside appears to be that my ssh link to my work
> machine goes down five or six times a day.  So, I'm trying
> to run sshd in debug mode on my work machine.  However, this
> is what I get.
>
> [root at penguin log]# /usr/sbin/sshd -d -p 1234
> debug1: sshd version OpenSSH_3.9p1
> debug1: private host key: #0 type 0 RSA1
> debug1: read PEM private key done: type RSA
> debug1: private host key: #1 type 1 RSA
> debug1: read PEM private key done: type DSA
> debug1: private host key: #2 type 2 DSA
> debug1: rexec_argv[0]='/usr/sbin/sshd'
> debug1: rexec_argv[1]='-d'
> debug1: rexec_argv[2]='-p'
> debug1: rexec_argv[3]='1234'
> debug1: Bind to port 1234 on ::.
> Server listening on :: port 1234.
> debug1: Bind to port 1234 on 0.0.0.0.
> Bind to port 1234 on 0.0.0.0 failed: Address already in use.
> Generating 768 bit RSA key.
> RSA key generation complete.
>
> Presuably this means that the server is using a default IP
> address of 0.0.0.0.  How can I overcome this?  Or is there
> another error waiting in the wings?
>
> Your help is appreciated.
>
> Regards,
>
> Mick               /"\

I ran the command above on my server and the same IPv4 address
(0.0.0.0) is used, successfully

Did you take the message at its word? Could it be that unknown to you
there is something else in port 1234? (some quarters report that
starting sshd for both IPv6 & IPv4 confuses things, it seems disabling
IPv6 works in some instances where this is doable)
--
Gllug mailing list  -  Gllug at gllug.org.uk
http://lists.gllug.org.uk/mailman/listinfo/gllug




More information about the GLLUG mailing list