Ethical Hacking

Learn to find vulnerabilities before the bad guys do! Gain real world hands on hacking experience in our state of the art hacking lab. Course designed and taught by expert instructors with years of penetration testing experience. 12 student maximum in every class. Certification attempt included in every package.
Computer Forensics Training at InfoSec Institute

Gain the in-demand skills of a certified computer examiner, learn to recover trace data left behind by fraud, theft, and cybercrime perpetrators. Discover the source of computer crime and abuse at your organization so that it never happens again. All of our class sizes are guaranteed to be 12 students or less to facilitate one-on-one interaction with one of our expert instructors.




Network Security Secure-Shell
[Top] [All Lists]

Re: Agent Forwarding Question for the list

Subject: Re: Agent Forwarding Question for the list
Date: Fri, 06 Oct 2006 13:16:31 -0400
Jason Powers wrote:

me@desktop> ssh-add
           (type pass for key)
me@desktop> ssh someuser@server1

now from that terminal
someuser@server1> ssh otheruser@server2

It asks me for a password when I try to jump to the second server. I
can put the password in and it works, but I think at this point it
should be forwarding the key.
What happen if list the current keys the agent hold?
$ ssh-add -l

If it's empty, can you do it before "ssh someuser@server1"?

If it's not empty, can you on server2

ls -ld /home/otheruser/.ssh /home/otheruser/.ssh/authorized_keys*

Regards,


Simon Piette

<Prev in Thread] Current Thread [Next in Thread>