SSH Connection closed by remote host

I am trying to connect remotely using SSH –

ssh -vvv root@<host_ip> -p <host_port>

and it gets connected with no issues. But after 5 minutes or so, I get disconnected –

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 (t4 r0 i0/0 o0/0 e[write]/0 fd 4/5/6 sock -1 cc -1)

debug3: fd 1 is not O_NONBLOCK
Connection to closed by remote host.
Connection to closed.
Transferred: sent 6708, received 11908 bytes, in 1072.3 seconds
Bytes per second: sent 6.3, received 11.1
debug1: Exit status -1

Leave a Reply

Your email address will not be published. Required fields are marked *