openssh - SSH: Connection closed by remote server -


i trying ssh login remote server. whenever try login through terminal using ssh command:

  ssh root@{ip_address} 

i error:

 connection closed {ip_address} 

i checked hosts deny , hosts allow, there nothing in file. not getting why happening?

it happened when changed workstation , key got changed. when tried ssh login, asked add key , entered yes , closed connection.

is there way connected ssh again?

your appreciated.

thank you.

edit:

output of ssh -v -v -v -v root@{ip_address}

openssh_5.9p1 debian-5ubuntu1.1, openssl 1.0.1 14 mar 2012 debug1: reading configuration data /etc/ssh/ssh_config debug1: /etc/ssh/ssh_config line 19: applying options * debug2: ssh_connect: needpriv 0 debug1: connecting {ip_address} [{ip_address}] port 22. debug1: connection established. debug3: incorrect rsa1 identifier debug3: not load "/home/mona/.ssh/id_rsa" rsa1 public key debug1: identity file /home/mona/.ssh/id_rsa type 1 debug1: checking blacklist file /usr/share/ssh/blacklist.rsa-2048 debug1: checking blacklist file /etc/ssh/blacklist.rsa-2048 debug1: identity file /home/mona/.ssh/id_rsa-cert type -1 debug1: identity file /home/mona/.ssh/id_dsa type -1 debug1: identity file /home/mona/.ssh/id_dsa-cert type -1 debug1: identity file /home/mona/.ssh/id_ecdsa type -1 debug1: identity file /home/mona/.ssh/id_ecdsa-cert type -1 debug1: remote protocol version 2.0, remote software version openssh_5.9p1 debian-5ubuntu1.1 debug1: match: openssh_5.9p1 debian-5ubuntu1.1 pat openssh* debug1: enabling compatibility mode protocol 2.0 debug1: local version string ssh-2.0-openssh_5.9p1 debian-5ubuntu1.1 debug2: fd 3 setting o_nonblock debug3: load_hostkeys: loading entries host "{ip_address}" file "/home/mona/.ssh/known_hosts" debug3: load_hostkeys: loaded 0 keys debug1: ssh2_msg_kexinit sent connection closed 151.236.220.15 

are sure server permitting root logins via ssh? if not, suggest using different account sudo privileges instead of enabling root login - if server's ssh port accessible whole inernet.


Comments

Popular posts from this blog

image - ClassNotFoundException when add a prebuilt apk into system.img in android -

I need to import mysql 5.1 to 5.5? -

Java, Hibernate, MySQL - store UTC date-time -