• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 487
  • Last Modified:

SSH session terminates unexpectedly

Hello,

I am using SSH to connect to an Ubuntu 10.04 LTS virtual machine running on top of VMWare ESXi. When installing programs or initiating some X11 screens, the SSH session abruptly terminates and breaks the connection.  This does not happen to all program installations or X11 screens, but it will consistently happen to many unrelated screens.

Are there any suggestions on what might cause this problem or ways I might diagnose the cause?

Thank you
0
oonon
Asked:
oonon
1 Solution
 
dfkeCommented:
I think there is a /var/log/secure log file for sshd. May you can see what's happening there.
0
 
VAlmightyCommented:
how you are trying to connect to the ubuntu virtual machine? first you do ssh to the server using normal user and change to root using su. or directly connect to the server using root credentials?
apart from the error stated by the dfke, also check the virtual machine error log, vmware.log, which you can find in the root folder of the virtual machine.
0
 
maxalarieCommented:
Verify the timeout in sshd.conf on the ssh server: http://ocaoimh.ie/how-to-fix-ssh-timeout-problems/
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Upgrade your Question Security!

Your question, your audience. Choose who sees your identity—and your question—with question security.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now