ssh connections stopped working

Colin Law clanlaw at googlemail.com
Fri Dec 3 21:29:07 UTC 2010


On 3 December 2010 21:16, David Fletcher <dave at thefletchers.net> wrote:
> On Fri, 2010-12-03 at 20:03 +0000, Colin Law wrote:
>> > Can anybody give me a clue, please?
>>
>> Is openssh-server installed?
> Yes, it's been installed from day 1. Otherwise the previous rsync
> operations couldn't have worked.

Possibly worth re-installing in case it has got mislaid along the way somewhere.
Perhaps the server is not starting for some reason.  There might be
something in the messages on startup.

>
>>
>> Have a look in auth.log to see if anything is logged there when you
>> try to connect via ssh.

Reaching the end of my knowledge base here, but I assume that the fact
that there is nothing logged means that it is not an authorization
problem.  It suggests the problem is earlier than that.  Other than
that I don't think I can help much.  Over to someone with more
in-depth knowledge?

Colin

>>  Are specifying a valid username to ssh when
>> you try to connect?
>> ssh -l username server
> No, it's not adding entries to auth.log. I know that I have a valid
> username. It's the same as in the scripts that I was using to do rsync
> operations before. It was all set up and working with my public key
> added to .ssh/authorized_keys.
>
> Because I've not looked at this file before, I connected by ssh to the
> server and checked it there. Why does it have at the end of the accepted
> password line
> port 52144 ssh2 ?
> I thought ssh worked over port 22? Or am I showing my ignorance here? Is
> port 52144 just used to do the authorisation? I guess it negotiates a
> random port number for this because next time is was 37747.
> Currently the last line in the server auth.log is:-
> pam_unix(sshd:session): session opened for user administrator by (uid=0)
>
>>
>> Colin
>>
>
> Don't suppose it's got anything to do with this but the desktop machine
> has been upgraded from Lucid to Maverick. The laptop though was a wipe
> and fresh install.
>
> Dave
>
>
>




More information about the ubuntu-users mailing list