LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 09-16-2014, 05:25 AM   #1
seabro
LQ Newbie
 
Registered: Jan 2010
Posts: 26

Rep: Reputation: 0
login using key pairs


> Hi,
>
> *
>
> When I login to my server using a public key, I still have to enter a username.* However, I donít see a username specified in the public key file.
>
> I havenít tried using a random username but how does the username relate to the public/private key authentication?
>
> *
>
> Thanks,
>
> *
>
> Seabro
 
Old 09-16-2014, 05:34 AM   #2
AnanthaP
Member
 
Registered: Jul 2004
Location: Chennai, India
Distribution: UBUNTU 5.10 since Jul-18,2006 on Intel 820 DC
Posts: 813

Rep: Reputation: 195Reputation: 195
Please check with the administrator of the server. I don't think they relate to each other but are 2 different authentications.

OK
 
Old 09-17-2014, 03:05 AM   #3
seabro
LQ Newbie
 
Registered: Jan 2010
Posts: 26

Original Poster
Rep: Reputation: 0
Hi, I probably didn't explain clearly. Its my server and key authentication is working. I just wanted to better understand how the username fits into the process.
 
Old 09-20-2014, 02:30 AM   #4
AnanthaP
Member
 
Registered: Jul 2004
Location: Chennai, India
Distribution: UBUNTU 5.10 since Jul-18,2006 on Intel 820 DC
Posts: 813

Rep: Reputation: 195Reputation: 195
You are correct. The Public-private key scheme doesn't have provision in the key itself (which is what you expect) for a user name. In my view, it would defeat the purpose of a unique randomized key pair.

I don't know your specific setup but it may be that the basic (classic) username authentication is wrapped into a private-public key scheme. (key scheme is the wrapper for the username request). If this were so, the server would first authenticate genuineness of request using the key pair and then validate the username against it's list (/etc/passwd, shadow and so on).

OK
 
  


Reply


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
Set up Key pairs but have to enter password, Freenas 8 travalon Linux - Newbie 4 03-24-2013 12:23 PM
DNS TXT with multiple key-value pairs williebens Linux - Server 2 03-04-2011 11:12 AM
ssh best practice: key pairs per user or OS? Other considerations? mrtwice Linux - Security 2 04-20-2010 10:41 PM
Public/Private Key Pairs Kissell Linux - Security 3 01-24-2009 05:36 AM
Big Brother? Key Pairs? cwizardone Slackware 1 02-27-2007 07:02 PM


All times are GMT -5. The time now is 01:27 AM.

Main Menu
Advertisement
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
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration