Solved

SSH session terminates unexpectedly

Posted on 2011-03-21
3
476 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Portable, direct connect server access

The ATEN CV211 connects a laptop directly to any server allowing you instant access to perform data maintenance and local operations, for quick troubleshooting, updating, service and repair.

Question has a verified solution.

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

Suggested Solutions

In this article, I will show you HOW TO: Suppress Configuration Issues and Warnings Alert displayed in Summary status for ESXi 6.5 after enabling SSH or ESXi Shell.
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 install ESXi 5.5 and configure the management network System Requirements: ESXi Installation:  Management Network Configuration: Management Network Testing:
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…

733 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