PDA

View Full Version : ssh problem


Sunnz
2005-06-28, 03:30 AM CDT
$ sftp sunnz.org
Connecting to sunnz.org...
ssh_exchange_identification: Connection closed by remote host
Connection closed


But it was working...

tuxdaemon
2005-06-28, 03:33 AM CDT
I think the server is trying to read a public ssh key. The file stored in .ssh/id_rsa.pub.

Check the sshd_config file for things related to publickeys and comment them out, then restart sshd.

Sunnz
2005-06-28, 03:43 AM CDT
But I can't connect to it...

tuxdaemon
2005-06-28, 03:45 AM CDT
You will need to get access to that file buddy ... =/

fatal_error
2005-06-28, 04:00 AM CDT
Simply try a ssh anonymous@sunnz.org. It should ask yout to permamently add the host key to your config....

tuxdaemon
2005-06-28, 04:14 AM CDT
If the private key is required for some odd reason and you dont have it, youll need to somehow regenerate a key or comment out the settings forcing host pubkey/privkey authentication.

fatal_error
2005-06-28, 04:53 AM CDT
I just tried sshing the specified server and it did not work. I am 100% sure my ssh configs and key settings are correct cause I use it almost every day. Seems someone screwed up the server...

Sunnz
2005-06-28, 05:46 AM CDT
$ ssh anonymous@sunnz.org
ssh_exchange_identification: Connection closed by remote host


There is one problem... it doesn't have a monitor... I'll post again in the next few days.