You are not logged in.

#1 2016-05-30 17:16:08

Majzlik
Member
Registered: 2015-10-03
Posts: 20

SSH disconnection after succesful authentication

Hi,
I'm trying to connect using SSH to remote server. My public key is there, I'm using private key, authentication is successful but I got disconnected immediately after that. I've tried it from Windows computer using same keys and everything worked.So I tried

ssh -vvv 

and got this output:

debug1: Authentication succeeded (publickey).
Authenticated to <remote host IP> ([<remote host IP>]:22).
debug1: channel 0: new [client-session]
debug3: ssh_session2_open: channel_new: 0
debug2: channel 0: send open
debug3: send packet: type 90
debug1: Entering interactive session.
debug1: pledge: network
debug3: send packet: type 1
debug1: channel 0: free: client-session, nchannels 1
debug3: channel 0: status: The following connections are open:
  #0 client-session (t3 r-1 i0/0 o0/0 fd 5/6 cc -1)

Connection to <remote host IP> closed by remote host.

UPDATE
Even if I try to connect using wine+Putty, I can access that server.

Can someone please tell me what is there going on?
Thanks

Last edited by Majzlik (2016-05-30 17:51:55)

Offline

#2 2016-05-30 18:11:44

respiranto
Member
Registered: 2015-05-15
Posts: 479
Website

Re: SSH disconnection after succesful authentication

The server's log (`journalctl -xeu sshd') might be useful.

Offline

Board footer

Powered by FluxBB