Solved

SSH session terminates unexpectedly

Posted on 2011-03-21
3
470 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

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

Join & Write a Comment

HOW TO: Upload an ISO image to a VMware datastore for use with VMware vSphere Hypervisor 6.5 (ESXi 6.5) using the vSphere Host Client, and checking its MD5 checksum signature is correct.  It's a good idea to compare checksums, because many installat…
In this article, I will show you HOW TO: Install VMware Tools for Windows on a VMware Windows virtual machine on a VMware vSphere Hypervisor 6.5 (ESXi 6.5) Host Server, using the VMware Host Client. The virtual machine has Windows Server 2016 instal…
Teach the user how to convert virtaul disk file formats and how to rename virtual machine files on datastores. Open vSphere Web Client: Review VM disk settings: Migrate VM to new datastore with a thick provisioned (lazy zeroed) disk format: Rename a…
Teach the user how to use configure the vCenter Server storage filters Open vSphere Web Client:  Navigate to vCenter Server Advanced Settings: Add the four vCenter Server storage filters: Review the advanced settings: Modify the values of the four v…

747 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now