ssh_exchange_identification: Connection closed by remote host
I need some help here. Yes I have googled this problem but I can not seem to find a resolution.
I have a number of servers both co located around Tulsa as well as in Michigan that host databases, web, and email. I built this server to be a backup server for different people's databases or websites. I did this before but scraped the plan when I had hard drive failure on the backup server. The new backup server is on a private network with ip 10.10.10.4. I started out by setting up the rsa key pairs so that the backup server could ssh to these different server without a login (ease of script writing). I ssh the first server...accept the fingerprint...login...logout and scp the id_rsa.pub to the remote server's ~/.ssh/authorized_keys. I then test. Works...I then did the same on the second server. Again...everything went as planned. I then tried my third server and get "ssh: connect to host XXX.XXX.XXX.XXX port 22: Connection refused" I then run a ssh -v -v -v and get: OpenSSH_4.5p1 FreeBSD-20061110, OpenSSL 0.9.7e-p1 25 Oct 2004 debug1: Reading configuration data /etc/ssh/ssh_config debug2: ssh_connect: needpriv 0 debug1: Connecting to xxx.xxx.xxx.xxx [xxx.xxx.xxx.xxx] port 22. debug1: Connection established. debug1: identity file /home/backup.unix/.ssh/identity type -1 debug3: Not a RSA1 key file /home/backup.unix/.ssh/id_rsa. debug2: key_type_from_name: unknown key type '-----BEGIN' debug3: key_read: missing keytype debug3: key_read: missing whitespace debug3: key_read: missing whitespace debug3: key_read: missing whitespace debug3: key_read: missing whitespace debug3: key_read: missing whitespace debug3: key_read: missing whitespace debug3: key_read: missing whitespace debug3: key_read: missing whitespace debug3: key_read: missing whitespace debug3: key_read: missing whitespace debug3: key_read: missing whitespace debug3: key_read: missing whitespace debug3: key_read: missing whitespace debug3: key_read: missing whitespace debug3: key_read: missing whitespace debug3: key_read: missing whitespace debug3: key_read: missing whitespace debug3: key_read: missing whitespace debug3: key_read: missing whitespace debug3: key_read: missing whitespace debug3: key_read: missing whitespace debug3: key_read: missing whitespace debug3: key_read: missing whitespace debug3: key_read: missing whitespace debug3: key_read: missing whitespace debug2: key_type_from_name: unknown key type '-----END' debug3: key_read: missing keytype debug1: identity file /home/backup.unix/.ssh/id_rsa type 1 debug1: identity file /home/backup.unix/.ssh/id_dsa type -1 ssh_exchange_identification: Connection closed by remote host I then tried another remote server and get the same. I can still ssh the first two that I setup with no problems and I can ssh these other ones from my desktop so I am figuring that this has something to do with my new backup server and sshing anything other then these two remote servers that I setup with keys. Anyone know what went wrong here? |
Nevermind. Found my problem. I did not have the backup server specified in our untangle server so it was defaulted to a no outbound service profile.
|
All times are GMT -5. The time now is 10:54 PM. |