LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   SSH not verifying properly... (https://www.linuxquestions.org/questions/linux-software-2/ssh-not-verifying-properly-286505/)

Napalm Llama 02-05-2005 06:22 AM

SSH not verifying properly...
 
This is kind of a newbie question, but I don't consider myself to be a total know-nothing anymore - I had that phase for the last few months!

Anyhoo, I've been trying to get my SSH daemon (OpenSSH I think) to work. To begin with it was simply refusing connections, but now when telnetted to my isp's remote terminal, I get this:

Code:

myusername@isphost myusername $ ssh my.host.name
The authenticity of host 'my.host.name (this.was.my.ip)' can't be established.
DSA key fingerprint is 06:1f:72:0a:d9:32:e3:ab:89:32:a6:dd:92:c3:51:26.
Are you sure you want to continue connecting (yes/no)? no
Host key verification failed.
myusername@isphost myusername $

I'm sure it's a simple configuration problem, but unfortunately I don't really know where to start, other than probably somewhere in /etc...

(If anybody thinks exposing my 'DSA key fingerprint' like this is a security hazrard, please let me know and I'll censor it, too)

I know I could have typed 'yes' and connected, but I don't want to do that until I know it's going to be secure.

What do people think?

{BBI}Nexus{BBI} 02-05-2005 06:44 AM

Hmm? I'm not sure I understand the nature of your dilema. The authentication can't be established if you've never connected to your isps remote terminal before as they don't have a copy of your digital fingerprint on their system (or maybe vice-versa). If you said yes to connect then disconnected, reconnect again and you shouldn't see the authentication error message again. At least that's the way mine works. As to the exposure of your digital fingerprint being insecure I can't comment.

daft 02-05-2005 06:44 AM

a main feature of the ssh protocol is the DSA key fingerprint this one is random created and makes shure your connecting to you box your want to connect with.
if it is the 1st time you connect you dont have the fingerprint yet so you need to say 'Yes' to that question.

Napalm Llama 02-05-2005 07:14 AM

Really?

So in that case, I can choose 'yes', and I'm still connecting securely, and the remote host will remember me, and remember that I'm trustable.
Right?

(In case of any inclarities, I was telnetting to my ISP's machine, then ssh'ing back to my own - I know this doesn't make sense for general use, but I wanted to see what my machine looked like from a remote computer.)

Linux~Powered 02-05-2005 10:48 AM

Quote:

Really?
Yeah, that's how it works. When you enter "yes" it wont ask you save the key next time you log into that box. It stores the key in ~/.ssh/known_hosts

Napalm Llama 02-05-2005 11:13 AM

OK, cool. Thanks:)

Now I don't have to use telnet! Yay!


All times are GMT -5. The time now is 05:45 AM.