LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux > Linux - Newbie
User Name
Password
Linux - Newbie This 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

Tags used in this thread
Popular LQ Tags , , ,

Reply
 
Thread Tools
Old 12-20-2008, 01:00 PM   #1
rajeshkerala
Member
 
Registered: Mar 2008
Posts: 33
Thanked: 0
An SSH - related Question....


[Log in to get rid of this advertisement]
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...
rajeshkerala is offline     Reply With Quote
Old 12-20-2008, 01:17 PM   #2
fordeck
Member
 
Registered: Oct 2006
Location: Utah
Posts: 367
Thanked: 11
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:

http://en.wikipedia.org/wiki/Ssh

Have fun,
Fordeck
fordeck is offline     Reply With Quote
Old 12-20-2008, 04:07 PM   #3
btmiller
Senior Member
 
Registered: May 2004
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.
btmiller is offline     Reply With Quote
Old 12-21-2008, 12:42 AM   #4
rajeshkerala
Member
 
Registered: Mar 2008
Posts: 33
Thanked: 0

Original Poster
Thank u friends..
rajeshkerala is offline  
Tag This Post , , ,
Reply With Quote

Reply

Bookmarks


Thread Tools

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 02:33 PM
Just a quick SSH related question... Geneset Linux - Networking 4 02-04-2008 12:07 PM
SNAT related question Menestrel Linux - Networking 1 01-13-2005 11:56 PM
c related question. blackzone Programming 1 07-24-2004 09:55 AM
Yet another question; TimeZone related MasterC Linux From Scratch 6 06-11-2002 04:56 AM


All times are GMT -5. The time now is 08:21 AM.

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