Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux 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!


  Search this Thread
Old 12-20-2008, 12:00 PM   #1
Registered: Mar 2008
Posts: 35

Rep: Reputation: 15
An SSH - related Question....

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/, 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...
Old 12-20-2008, 12:17 PM   #2
Registered: Oct 2006
Location: Utah
Posts: 520

Rep: Reputation: 61
There is a wealth of information on the inner workings of ssh on the internet. One that may be a good read for you is:

Have fun,
Old 12-20-2008, 03:07 PM   #3
Senior Member
Registered: May 2004
Location: In the DC 'burbs
Distribution: Arch, Scientific Linux, Debian, Ubuntu
Posts: 4,284

Rep: Reputation: 371Reputation: 371Reputation: 371Reputation: 371
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.
Old 12-20-2008, 11:42 PM   #4
Registered: Mar 2008
Posts: 35

Original Poster
Rep: Reputation: 15
Thank u friends..


key, private, public, ssh

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Directory Related Question leebrent Programming 9 08-14-2008 01:33 PM
Just a quick SSH related question... Geneset Linux - Networking 4 02-04-2008 11:07 AM
SNAT related question Menestrel Linux - Networking 1 01-13-2005 10:56 PM
c related question. blackzone Programming 1 07-24-2004 08:55 AM
Yet another question; TimeZone related MasterC Linux From Scratch 6 06-11-2002 03:56 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 04:00 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration