Yesterday I was migrating to my new server, needed to use rsync, I created a RSA key, so that rsync could connect, I saw an error that says add to trusted key in location x I didn't have that location on my new server, so basically when I do mv rsakey /location.x The directory didn't exist.I tried regenerating the key. but that didn't help, now I'm unable to login to ssh nor to filezilla scp protocol it saysError: Network error: Software caused connection abort. Error: Could not connect to serverI'm almost certain that the error is caused by RSA key. How can I fix it? By the way I have Ispcp installed, so I might be able to fix it from there.Note: I have generated RSA keys on the old and the new server, I can login to the old but not the new one.EDITusing terminator on ubuntu 12.04:$ ssh root@server_ipConnection closed by server_ipEDIT 2after doing mv ~/.ssh ssh_backup i tried to connect and it says Read from socket failed: Connection reset by peer i retried and it gave me the connection closed error shown aboveEDIT 3the output of ssh -vv root@server_ipOpenSSH_5.9p1 Debian-5ubuntu1, OpenSSL 1.0.1 14 Mar 2012debug1: Reading configuration data /etc/ssh/ssh_configdebug1: /etc/ssh/ssh_config line 19: Applying options for *debug2: ssh_connect: needpriv 0debug1: Connecting to my_ip_address [my_ip_address] port 22.debug1: Connection established.debug1: identity file /home/me/.ssh/id_rsa type -1debug1: identity file /home/me/.ssh/id_rsa-cert type -1debug1: identity file /home/me/.ssh/id_dsa type -1debug1: identity file /home/me/.ssh/id_dsa-cert type -1debug1: identity file /home/me/.ssh/id_ecdsa type -1debug1: identity file /home/me/.ssh/id_ecdsa-cert type -1debug1: Remote protocol version 2.0, remote software version OpenSSH_5.5p1 Debian-6+squeeze3debug1: match: OpenSSH_5.5p1 Debian-6+squeeze3 pat OpenSSH*debug1: Enabling compatibility mode for protocol 2.0debug1: Local version string SSH-2.0-OpenSSH_5.9p1 Debian-5ubuntu1debug2: fd 3 setting O_NONBLOCKdebug1: SSH2_MSG_KEXINIT sentConnection closed by my_ip_address@mattdm I named the location x because i forgot what it was, you know that error where it basically says: please move rsa key to trusted sources location, or something like that. maybe it was /.ssh
Unable to login to my server using ssh
debian;ssh;login;authentication;key authentication