Results 1 to 9 of 9
When I try to connect to my SSH server I get the following message:
javitable@john-linux-laptop:~$ ssh 192.168.0.6
The authenticity of host '192.168.0.6 (192.168.0.6)' can't be established.
RSA key fingerprint is ...
- 06-07-2006 #1Just Joined!
- Join Date
- Jun 2006
- Posts
- 3
SSH Server Problems
When I try to connect to my SSH server I get the following message:
javitable@john-linux-laptop:~$ ssh 192.168.0.6
The authenticity of host '192.168.0.6 (192.168.0.6)' can't be established.
RSA key fingerprint is e7:fd:dd:86:a4:1b:b4:d8:25:11:30:d7:f3:48:92:06.
Are you sure you want to continue connecting (yes/no)?yes
Host key verification failed.
If you could tell me how to fix this.. that would be grand.
- 06-07-2006 #2
Which distro are you using? Did you take a look at the /etc/ssh/sshd_config file on the server side? Maybe you want to specify a user too when connecting.
"To express yourself in freedom, you must die to everything of yesterday. From the 'old', you derive security; from the 'new', you gain the flow."
-Bruce Lee
- 06-07-2006 #3
PasswordAuthentication
Here's a good article about the SSH login procedure.
You could look at the /etc/shs/sshd_config file on the server you are logging into. If it has "PasswordAuthentication NO", then I think you must have one of these files already on the server in your ~/.ssh/ directory: identity.pub, id_rsa.pub, or id_dsa.pub. It's safe to copy the ".pub" files with ftp or whatever.
- 06-07-2006 #4Just Joined!
- Join Date
- Jun 2006
- Posts
- 3
i should have mentioned that I had it working in the past, this just randomly happened one day
- 06-07-2006 #5
Maybe you can try to erase the "known_hosts" file in ~/.ssh.
Still, which distro are you using?"To express yourself in freedom, you must die to everything of yesterday. From the 'old', you derive security; from the 'new', you gain the flow."
-Bruce Lee
- 06-07-2006 #6
known_hosts or messages
Ah! If for any reason either the host or server changed it's key, you'll have to delete the line for the other computer in your "~/.ssh/known_hosts" file. Although I think you are getting the wrong error message for that.
Originally Posted by involutaryhaxor
See if there is an relevant error message in /var/log/messages.
- 06-07-2006 #7Just Joined!
- Join Date
- Jun 2006
- Posts
- 3
i feel real stupid asking this question, but where is the .ssh directory you mention, I figured it would be in my home directory, but it isn't
- 06-07-2006 #8
Run ssh-keygen
When a user sets up SSH, he runs ssh-keygen to generate his keys, which also creates a directory named ".ssh" in your home directory, thus "~/.ssh".
See man ssh.
- 06-07-2006 #9
Do a
in your home directory it should be there.Code:ls -la
Unless you were root when logging with SSH, then the .ssh directory will be in the /root one."To express yourself in freedom, you must die to everything of yesterday. From the 'old', you derive security; from the 'new', you gain the flow."
-Bruce Lee


Reply With Quote