Linux - NewbieThis forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Friends..Please clarify my question related to SSH:
An SSH server will always publicize its public key to any computer which contacts via SSH. Please let me know how this happens..
Suppose I am performing an SSH from A to B for the first time, even before authentication through password is done, the client computer tells me the finger print of the server is "so and so..." and authentication could not be established...Actually the public key of the server is in /etc/ssh directory(ssh_host_rsa/dsa_key.pub), so how the client access the /etc/ssh directory...? or how the server publicize the key to the clients...please let me know this. Thank u...
Distribution: At home: Kubuntu, Slackware, *BSD, Solaris. At work: Red Hat, CentOS, Debian, Fedora, Irix, HPUX
Posts: 3,341
Thanked: 8
The public key is simply transmitted accross the network from the server to the client. The SSH client connects to the server on port 22 (or whaqtever port sshd is running on) and then the server sends the key over the TCP network socket. There is no need for the client to access any files on the remote system for key exchange; the sshd server software does that. Likewise, the ssh server need not access key files on the client system -- the client will send the relevant ones over the network link.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.