| Summary: | Better support for multi hop ssh/scp/sftp and anonymous port forwarding | ||
|---|---|---|---|
| Product: | Portable OpenSSH | Reporter: | dave edwards <slice1900> |
| Component: | ssh | Assignee: | OpenSSH Bugzilla mailing list <openssh-bugs> |
| Status: | CLOSED WORKSFORME | ||
| Severity: | enhancement | ||
| Priority: | P2 | ||
| Version: | -current | ||
| Hardware: | All | ||
| OS: | Linux | ||
|
Description
dave edwards
2004-07-22 06:19:09 AEST
You can already do this with a ProxyCommand and a little help from the
intermediate hosts.
Suppose you have two sets of firewalls with hostA at one end, hostB in the
middle and hostC at the other end. You can do something like the following in
~/.ssh/config on hostA:
Host hostB
User user1
Host hostC
ProxyCommand ssh hostB nc hostC 22
User user2
You can keep stacking these (although obviously get slower):
Host hostD
ProxyCommand ssh hostC nc hostD 22
User user3
Darren's workaround is a good way to do this. Change all RESOLVED bug to CLOSED with the exception of the ones fixed post-4.4. |