SSH proxy without authorizing at final machine

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi there,

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


Attachment: signature.asc
Description: PGP signature

Attachment: signature.asc
Description: OpenPGP digital signature


[Index of Archives]     [Open SSH Unix Development]     [Fedora Users]     [Fedora Desktop]     [Yosemite Backpacking]     [KDE Users]     [Gnome Users]

  Powered by Linux