SSH session terminates unexpectedly

Posted on 2011-03-21
Medium Priority
Last Modified: 2013-11-15

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
Question by:oonon
LVL 12

Expert Comment

ID: 35182027
I think there is a /var/log/secure log file for sshd. May you can see what's happening there.

Expert Comment

ID: 35189191
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.

Accepted Solution

maxalarie earned 2000 total points
ID: 35204516
Verify the timeout in sshd.conf on the ssh server: http://ocaoimh.ie/how-to-fix-ssh-timeout-problems/

Featured Post

Upgrade your Question Security!

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

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

In this article, I show you step by step with screenshots to assist you - HOW TO: Deploy and Install the VMware vCenter Server Appliance 6.5 (VCSA 6.5), with some helpful tips along the way.
When rebooting a vCenters 6.0 and try to connect using vSphere Client we get this issue "Invalid URL: The hostname could not parsed." When we get this error we need to do some changes in the vCenter advanced settings to fix the issue.
Teach the user how to delpoy the vCenter Server Appliance and how to configure its network settings Deploy OVF: Open VM console and configure networking:
This tutorial will walk an individual through the steps necessary to enable the VMware\Hyper-V licensed feature of Backup Exec 2012. In addition, how to add a VMware server and configure a backup job. The first step is to acquire the necessary licen…

624 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question