LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
Search this Thread
Old 02-08-2007, 07:34 PM   #1
hedpe
Member
 
Registered: Jan 2005
Location: Pittsburgh
Distribution: Ubuntu
Posts: 378

Rep: Reputation: 30
need help with no password ssh and ssh-agent


Hey all,

I've looked at like 5 different guides for no password ssh and they all say the same thing... and I've done this over and over and can't get it.

First I create my id_dsa:
Code:
ssh-keygen -t dsa
Then I scp it over to the server machine, and append it to ~/.ssh/authorized_keys

Now when I try to ssh, it asks me for the passphrase for ~/.ssh/id_dsa and logs me in without ever asking me for the ssh password also.

Now I want it to not ask me for the id_dsa password... guides are telling me to use ssh-agent, however:
Code:
bash-2.05b$ ssh-agent /usr1/gnychis/.ssh/id_dsa
/usr1/gnychis/.ssh/id_dsa: Permission denied
bash-2.05b$ ls -la /usr1/gnychis/.ssh/ | grep id_dsa
-rw-------    1 gnychis  users         736 Feb  8 20:18 id_dsa
bash-2.05b$ whoami 
gnychis
I can't figure this out, this is happening on *all* of my machines.

Any clues? I have root on the client machines, but not on the server machine.

Thanks!
George
 
Old 02-08-2007, 08:19 PM   #2
Emerson
Senior Member
 
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~
Posts: 3,177

Rep: Reputation: Disabled
Has this ssh-agent SUID bit set?
 
Old 02-08-2007, 08:39 PM   #3
hedpe
Member
 
Registered: Jan 2005
Location: Pittsburgh
Distribution: Ubuntu
Posts: 378

Original Poster
Rep: Reputation: 30
i have no clue what you mean, sorry... can you elaborate?
 
Old 02-08-2007, 08:49 PM   #4
Emerson
Senior Member
 
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~
Posts: 3,177

Rep: Reputation: Disabled
SUID - set user ID
If this bit is set executable will not run with your user rights.

Edit: http://wiki.linuxquestions.org/wiki/Suid

Last edited by Emerson; 02-08-2007 at 08:59 PM.
 
  


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
ssh-agent, ssh-add and ssh-keygen AND CVS raylpc Linux - General 2 11-19-2008 02:50 AM
using ssh-agent Jzarecta Linux - Security 1 01-30-2007 05:28 PM
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


All times are GMT -5. The time now is 08:55 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
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration