Solved

SSH session terminates unexpectedly

Posted on 2011-03-21
3
473 Views
Last Modified: 2013-11-15
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
Comment
Question by:oonon
3 Comments
 
LVL 10

Expert Comment

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

Expert Comment

by:VAlmighty
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.
0
 
LVL 2

Accepted Solution

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

Featured Post

Back Up Your Microsoft Windows Server®

Back up all your Microsoft Windows Server – on-premises, in remote locations, in private and hybrid clouds. Your entire Windows Server will be backed up in one easy step with patented, block-level disk imaging. We achieve RTOs (recovery time objectives) as low as 15 seconds.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
vmware ver 6.5 8 83
Reducing the VMs HD Size after creating Template in vCenter 6.0 2 59
Move ESX/VMs  from Vcenter 5.5 to Vcenter 6 6 57
Workspace One/ VDIM/ Airwatch 6 22
This article will show you how to create an ISO CD-ROM/DVD-ROM image (*.iso), and MD5 checksum signature, for use with VMware vSphere Hypervisor 6.5 (ESXi 6.5). It's a good idea to compare checksums, because many installations fail because of a corr…
In this article, I will show you HOW TO: Create your first Windows Virtual Machine on a VMware vSphere Hypervisor 6.5 (ESXi 6.5) Host Server, the Windows OS we will install is Windows Server 2016.
Teach the user how to install ESXi 5.5 and configure the management network System Requirements: ESXi Installation:  Management Network Configuration: Management Network Testing:
Teach the user how to install vSphere Update Manager  Console to Windows system:  Install vSphere Update Manager: Configure vSphere Update Manager plug-in in vSphere Client: Verify vSphere Update Manager settings in vSphere Client:

773 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