LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 11-09-2011, 07:58 AM   #1
call_krushna
Member
 
Registered: Aug 2007
Location: India
Distribution: Ubuntu
Posts: 173

Rep: Reputation: 1
ssh automated authentication with PKI


Hi Everybody,

I have private key with me (in my local pc) and public key in server (remote server) .Every time , I log in to the remote server , it ask passphrase to connect.Is there any way to connect the remote server without asking passphrase.

Looking forward for a solution.

Thanks in advance .
 
Old 11-09-2011, 02:02 PM   #2
kbscores
Member
 
Registered: Oct 2011
Location: USA
Distribution: Red Hat
Posts: 259
Blog Entries: 9

Rep: Reputation: 32
Regenerate the ssh-key without a passphrase.

When you run ssh-keygen command it prompts you to set one up instead of putting in a passphrase just hit enter.
 
1 members found this post helpful.
Old 11-10-2011, 05:50 AM   #3
call_krushna
Member
 
Registered: Aug 2007
Location: India
Distribution: Ubuntu
Posts: 173

Original Poster
Rep: Reputation: 1
Creating ssh key without passphrase will lead to security problem .There is one more work around.Its one time command .

#ssh-add /path/to/privatekey

It will ask passphrase for the first time. Later on we can connect the any remote server (if same pub key is present ) using private key .Any how thanks Kbscores for post .
 
1 members found this post helpful.
Old 11-10-2011, 02:17 PM   #4
kbscores
Member
 
Registered: Oct 2011
Location: USA
Distribution: Red Hat
Posts: 259
Blog Entries: 9

Rep: Reputation: 32
No problem. Thanks for providing solution.
 
  


Reply



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
configure ssh authentication using password file and sftp/scp authentication using ld cameliab Linux - Software 1 08-29-2011 03:28 AM
PKI/CAC and Apache authentication on Solaris 10? bax Solaris / OpenSolaris 1 11-24-2010 08:10 AM
Web client authentication through PKI and CACs. CoderMan Linux - Security 1 07-13-2010 12:41 PM
clogin automated login with key-based ssh authentication m4rtin Programming 4 01-25-2010 12:06 PM
SSH with PKI prafulnama Linux - Security 6 03-19-2009 09:07 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 12:18 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
Open Source Consulting | Domain Registration