LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Security
User Name
Password
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.

Notices


Reply
  Search this Thread
Old 01-30-2007, 03:52 PM   #1
Jzarecta
Member
 
Registered: Dec 2005
Location: Villahermosa, Bucharest, Birminham, Brooklyn, Beverly
Distribution: Mandriva
Posts: 118

Rep: Reputation: 15
Unhappy using ssh-agent


I am tirying to follow this tutorial but is not working for some reason.

I wonder if anyone can help me out, so I do the following, I create the key: ssh-keygen -t dsa -f ~/.ssh/id_dsa -C "jza@laptop".

Then I copy the key to the remote server:
scp ~/.ssh/id_dsa jza@ghpadmin:.ssh/

Finally I do the following command, which inserts the key into the authorized_keys file.

cat ~/.ssh/id_dsa.pub | ssh jza@server 'cat - >> ~/.ssh/authorized_keys'

The final step is just doing the signing however instead of asking me for a passphrase it ask me for the general command. So I was supposed to get this:
Code:
$ ssh jza@server
      Enter passphrase for DSA key 'you@example.com': ^D
      $
instead I got this:
Code:
$ ssh jza@server
      jza@server's password:
      $
So what did I miss for not getting the passphrase instead of the password.
 
Old 01-30-2007, 05:28 PM   #2
alunduil
Member
 
Registered: Feb 2005
Location: San Antonio, TX
Distribution: Gentoo
Posts: 684

Rep: Reputation: 62
I'd recommend looking at this tutorial as well: http://www.gentoo.org/proj/en/keychain/. If you still have troubles with it, post back.

Regards,

Alunduil
 
  


Reply

Tags
dsa, key, ssh, sshagent


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
ssh-agent, ssh-add and ssh-keygen AND CVS raylpc Linux - General 2 11-19-2008 02:50 AM
ssh-agent/ssh-add question mega Slackware 2 01-26-2005 03:09 AM
ssh-agent alaios Linux - Security 5 05-02-2004 11:24 AM
ssh-agent podollb Linux - Networking 15 10-16-2003 12:51 AM
Stupid SSH-AGENT Neorio Linux - Networking 1 06-19-2003 10:23 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Security

All times are GMT -5. The time now is 08:20 PM.

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