SSH toubles (SEC:UNCLASSIFIED)

Rasjid Wilcox rasjidw at bigpond.com
Thu Apr 11 20:39:50 EST 2002


On Thu, 11 Apr 2002 10:32 am, Lisman, FLGOFF Jarrad wrote:
> Trying to a simple ssh setup between two linux RedHat 7.2 boxes. I have
> installed OpenSSH on both, generated keys and have the daemon running. I am
> trying to make the conecction so that you don't have to do any password
> typing etc. I followed a couple of HOWTO's and generated the
> /etc/ssh_known_hosts(2) files and sneaker netted them over to the other
> box. Then when trying to log in i get the "The authenticity of host
> (192.168.10.1) can't be established... do you wish to continue (yes/no)"
> If i do no it exits as is expected, if i do yes it creates a known_hosts2
> file in /home/<user>/.ssh or /root/.ssh. So it works fine after that, but I
> want it to work using the /etc/ssh/ssh_known_hosts2 file so that I don't
> have to authenticate for each user.
> At this point in time it is only using the user known_hosts and not the one
> in /etc/ssh is there some switch or option that I have missed?
>
> Thanks for any help
>
> Jarrad

I would suggest reading Daniel Robbins' articles on SSH.

Part 1.
http://www-106.ibm.com/developerworks/library/l-keyc.html

Part 2.  
http://www-106.ibm.com/developerworks/linux/library/l-keyc2/?open&l=252,t=grl,p=ossh2

Part 3.
http://www-106.ibm.com/developerworks/opensource/library/l-keyc3/?dwzone=opensource

Rasjid.




More information about the linux mailing list