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 says
Error: Network error: Software caused connection abort. Error: Could not connect to server
I'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.
using terminator on ubuntu 12.04:
$ ssh root@server_ip Connection closed by server_ip
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 above
the output of
ssh -vv root@server_ip
OpenSSH_5.9p1 Debian-5ubuntu1, OpenSSL 1.0.1 14 Mar 2012 debug1: Reading configuration data /etc/ssh/ssh_config debug1: /etc/ssh/ssh_config line 19: Applying options for * debug2: ssh_connect: needpriv 0 debug1: Connecting to my_ip_address [my_ip_address] port 22. debug1: Connection established. debug1: identity file /home/me/.ssh/id_rsa type -1 debug1: identity file /home/me/.ssh/id_rsa-cert type -1 debug1: identity file /home/me/.ssh/id_dsa type -1 debug1: identity file /home/me/.ssh/id_dsa-cert type -1 debug1: identity file /home/me/.ssh/id_ecdsa type -1 debug1: identity file /home/me/.ssh/id_ecdsa-cert type -1 debug1: Remote protocol version 2.0, remote software version OpenSSH_5.5p1 Debian-6+squeeze3 debug1: match: OpenSSH_5.5p1 Debian-6+squeeze3 pat OpenSSH* debug1: Enabling compatibility mode for protocol 2.0 debug1: Local version string SSH-2.0-OpenSSH_5.9p1 Debian-5ubuntu1 debug2: fd 3 setting O_NONBLOCK debug1: SSH2_MSG_KEXINIT sent Connection 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