ssh problem

Avi Greenbury lists at avi.co
Wed Jun 20 09:50:02 UTC 2012


rikona wrote:

> >> I'd check the Syslog for clues. If nothing's there -      
> 
> > sshd logs to authlog;
> 
> I don't seem to have authlog - does that get produced with something I
> don't have?

It's at /var/log/auth.log; you should have it on a standard Ubuntu
install.
 
> > it might be worth setting the log level to 'debug' or running the
> > client with -vv,
> 
> What's vv? I don't seem to find what that is...

It makes ssh print potentially useful debug messages. -v is less
verbose than -vv, I think there's a -vvv too.

> I get a 'broken pipe' msg that I was interpreting as a disconnect.
> Terminal still works, though, and I can recover on the CLI.
> 
> Sometimes it just stops working, with no error msg, as does terminal.
> If I close terminal it warns me something [presumably ssh] is still
> running and will be stopped if I exit. I exit and start over, and a
> new ssh connects to the remote comp OK. Is that also what happens with
> a disconnect, or is something else going on?

No, that still sounds like it's just a simple timeout somewhere along
the way. If you establish an ssh connection to something and then pull
out the cable or disable WiFi you'll get similar symptoms.

-- 
Avi




More information about the ubuntu-users mailing list