18.47.37
SSH proxy without authorizing at final machine
I want to ssh hop from A to B to C in a way were only B has the
key and configuration for C:

+---------------+   +---------------+   +---+
| A (key for B) |---| B (key for C) |---| C |
+---------------+   +---------------+   +---+

A (ssh): OpenSSH_5.2p1, OpenSSL 0.9.8k 25 Mar 2009
B (ssh): OpenSSH_5.2p1, OpenSSL 0.9.8k 25 Mar 2009
C (sshd): OpenSSH_5.2p1, OpenSSL 0.9.8k 25 Mar 2009

So far, shell connections work fine, i just type the following to obtain
shell access on C:

me@A $ ssh B -t ssh C
me@C $

The problem now is, that i'd like to use scp, rsync etc. through ssh.
So i need a transparent way integrated into ssh:

me@A $ rsync foo C:

But whatever ProxyCommand i use in my .ssh/config on A for Host C,
A wants to authenticate with C which can't be done because A does not
have credentials for C.

Thanks in advance,

--
Mierswa, Daniel

If you still don't like it, that's ok: that's why I'm boss. I simply
know better than you do.
              --- Linus Torvalds, comp.os.linux.advocacy, 1996/07/22


Views: 1667 | Added by: apeh1706 | Rating: 0.0/0
Total comments: 0
Name *:
Email *:
Code *:
close