I'm actually having a bit of an odd problem. I'm running Ubuntu Server 12.04, with a minimal set of packages: The base system, sshd, and an IRC server. I must allow someone else to configure the server to connect to their IRC network. However, they seem to be dropping after two lines of ls or cat.
Odder, this only happens on this server, and I haven't been able to reproduce it at all using PuTTY or an ssh client. Where should I look to diagnose this? auth.log
shows a normal connection and authentication and does not give any details about the drop. fail2ban has no violations with the originating IP address.
This is a virtual machine with a forwarded port(it is bridge mode and has normal network connectivity). I can connect locally, across the LAN, and from a remote location with PuTTY without any problems. The other person can connect using ssh
on Linux but encounters the connection dropping.
Server-side logs show nothing out of the ordinary.
ssh -vvv user@server
ssh -F /dev/null user@host
to rule out the client's /etc/ssh/ssh_config and .ssh/config... and alsossh -t user@host bash --noprofile --norc
to rule out something happening in /etc/profile,~/.bash_profile,~/.bashrc, etc. If the latter works, I'd run "bash" within the profile-less bash to get a normal bash and see if that exits unexpectedly.ssh -t [email protected] cat