SSH through another computer



I am forced to SSH to host1, and SSH from there to host2.

How can I do this in a single command?

I have a private key in localhost, which is accepted for SSH by host2. How
can I use this key in host2 without storing it in host1?

--
Masatran, R. Deepak <http://research.iiit.ac.in/~masatran/>

Attachment: pgp17wtscWF7T.pgp
Description: PGP signature



Relevant Pages

  • Re: Problem with SSH on Solaris 9
    ... > On my own account, I want to create an authorized_keys file. ... HOST1 (you run ssh on this one to connect to HOST2): ... Now you will be able to log into HOST2 from HOST1 without a password. ...
    (comp.security.ssh)
  • Confusing issue with scp - Host Key Authentication Failed
    ... I can ssh from host1 to host2 with no problems. ... I can scp from host1 to host2 with no problems. ... Since I can ssh to the host, I know keys are correct so why do I get the failure? ...
    (comp.security.ssh)
  • Re: SSH through another computer
    ... I have a private key in localhost, which is accepted for SSH by host2. ...
    (Debian-User)
  • Re: How to open an application in a remote x session
    ... I want the user on host2 to ssh to host1, then run say gedit which ... will opne up on the xdisplay the user has running on host1. ... ssh -Y user@host1 ...
    (Fedora)
  • Re: SSH through another computer
    ... I have a private key in localhost, which is accepted for SSH by host2. ... It is not necessary to have your private key for host2 stored on host1 ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ...
    (Debian-User)