WTF happened to ssh?

Roger arelem at bigpond.com
Sat Nov 23 00:06:53 UTC 2013


On 11/23/2013 10:47 AM, Cameron Simpson wrote:
> On 22Nov2013 09:04, Tom Horsley <horsley1953 at gmail.com> wrote:
>> On Fri, 22 Nov 2013 08:56:32 -0500
>> Carlos "casep" Sepulveda wrote:
>>
>>> What about
>>> ssh -vvvv your_host
>>> To get and idea what could be happening.
>> Yea, I did that and everything was the same as root right
>> up to the point where it refused to take the password.
>>
>> But to make things even more mysterious, it started
>> working when I tried again later (I don't think I could
>> have typed the password wrong 3 times in a row right
>> after having no problem typing it correctly when running
>> as root, but you never know).
> It is often more instructive to look at /var/log/secure on the
> server. The client (you) gets told to go away. The server (work)
> records _why_.
>
> Cheers,
If I'm unsure I sometimes just type the ssh password in a new terminal 
or gedit page then copy and paste to the ssh terminal and hit <enter> 
almost straight away. Making sure not to copy spaces before or after the 
password.
Have found that freehand typing password in ssh fails occasionally.
Roger


More information about the users mailing list