Xshell Forum

Connection closed by foreign host after successful login

Last post: Monday, November 14, 2016 10:24 PM by Support, 1 reply

 
Wednesday, November 9, 2016 9:47 AM - Przemek

Connection closed by foreign host after successful login

 
I have configured quite a few sessions in Session Browser and most of them work perfectly, however there are three that started to return following error (they work correctly some time ago, but can't correlate it with any Xshell update or other change):


Host 'xxx.ndc.lucent.com' resolved to xxx.x.xx.xx.
Connecting to xxx.x.xx.xx:22...
Connection established.
To escape to local shell, press 'Ctrl+Alt+]'.

Last login: Wed Nov 9 03:39:21 2016 from plpkrol-c1.pl.a
Sun Microsystems Inc. SunOS 5.10 Generic January 2005
pkrol@xxx:/home/pkrol
-> ls -al

Connection closed by foreign host.

Disconnected from remote host(xxx.ndc.lucent.com:22) at 10:40:32.

Type `help' to learn how to use Xshell prompt.


This happens only for three Solaris sessions (other Solaris and Linux session work fine) and only after executing first command. I am able to login to these servers and it does not matter what command I try to execute.

Any idea what is wrong with these sessions and how to fix it?

Program Ver. : Xshell 5
Monday, November 14, 2016 10:24 PM - Support

Re: Connection closed by foreign host after successful login

 
Can you send us the log file of the server so we can take a look at what's going on here? The sshd log file is usually found in /var/log/

Technical Support

Like us on Facebook
Follow us on Twitter
Visit our blog Blog