LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
Search this Thread
Old 07-02-2011, 02:50 AM   #1
gqqnbig
LQ Newbie
 
Registered: Apr 2011
Posts: 12

Rep: Reputation: 1
Question ssh connection closed immediately after logged in


I'm using Ubuntu 11.04. I've bought an account in a SSH sever.

Code:
loveright 02:41:54 ~$ ssh gqqnb@205.185.123.107
gqqnb@205.185.123.107's password:
Last login: Sat Jul  2 14:41:53 2011 from 123.137.120.69
Connection to 205.185.123.107 closed.
I've tried many times, the issue persists. ssh localhost is ok.

I go to Windows, run Bitvise Tunnelier. After providing corresponding information, connection is established.

Code:
14:48:07.381 Starting a new SSH2 session.
14:48:07.383 Connecting to SSH2 server 205.185.123.107:22.
14:48:07.594 Connected.
14:48:07.610 Starting first key exchange.
14:48:07.821 Server version string: SSH-2.0-OpenSSH_4.3
14:48:09.624 New host key received. Algorithm: ssh-rsa, Size: 2048 bits, MD5 Fingerprint: 23:9d:60:d8:2c:2c:32:42:20:7e:38:c0:c0:83:44:6c, Bubble-Babble: xiloz-vafen-zacab-vidif-samek-rydez-zisat-vifep-netop-duceg-fexax.
14:48:09.644 First key exchange completed.
14:48:09.648 Key exchange: diffie-hellman-group14-sha1. Session encryption: aes256-ctr, MAC: hmac-sha1, compression: none.
14:48:09.844 Attempting 'password' authentication.
14:48:11.096 Authentication completed.
14:48:11.096 Initializing SOCKS / HTTP CONNECT proxy on 127.0.0.1:7070 succeeded.
So, how can I fix? Any hints?

Last edited by gqqnbig; 07-02-2011 at 02:54 AM. Reason: typo
 
Old 07-02-2011, 03:45 AM   #2
aysheaia
LQ Newbie
 
Registered: Jun 2011
Distribution: Ubuntu
Posts: 26

Rep: Reputation: Disabled
Try first a verbose connection :
Code:
ssh -vvv gqqnb@205.185.123.107
 
Old 07-02-2011, 03:48 AM   #3
gqqnbig
LQ Newbie
 
Registered: Apr 2011
Posts: 12

Original Poster
Rep: Reputation: 1
It's fixed now.
I contracted the custom service, he said it was because of the configuration of the server. He fixed it and I can log in successfully.
 
Old 07-02-2011, 04:05 AM   #4
sysslack
Member
 
Registered: Feb 2006
Posts: 69

Rep: Reputation: 15
Hi
try to debug. Type ssh -vvv gqqnb@205.185.123.107 and check what difference in output
from Bitvise Tunnelier.
 
  


Reply

Tags
connection, ssh


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
SSH Connection closed by 78.56.66.66 ramesh_india2020 Linux - Newbie 4 07-30-2010 12:10 AM
ssh Connection closed by ..... TheBrick Linux - Networking 4 02-10-2010 05:58 AM
Connection to SSH closing immediately scratched Linux - General 8 03-25-2007 11:49 PM
SSH connection closed after username matcal Linux - Security 4 10-24-2005 11:04 AM
ssh connection closed by server m_yates Linux - Security 3 08-10-2005 03:12 PM


All times are GMT -5. The time now is 03:13 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration