| Summary: | netcat feature | ||||||
|---|---|---|---|---|---|---|---|
| Product: | Portable OpenSSH | Reporter: | Salvador Fandiño <sfandino> | ||||
| Component: | ssh | Assignee: | Assigned to nobody <unassigned-bugs> | ||||
| Status: | CLOSED DUPLICATE | ||||||
| Severity: | enhancement | CC: | dtucker | ||||
| Priority: | P2 | ||||||
| Version: | -current | ||||||
| Hardware: | All | ||||||
| OS: | OpenBSD | ||||||
| Attachments: |
|
||||||
Thanks, but this is a duplicate. *** This bug has been marked as a duplicate of bug 1618 *** Mass move of bugs RESOLVED->CLOSED following the release of openssh-5.5p1 |
Created attachment 1701 [details] adds new option "-Ghost:port" that is equivalent to running "ssh nc host port" The attached patch allows to use ssh as a remote netcat. A new flag -Ghost:port activates the feature. For instance: $ ssh foo.bar.com -Gwww.openssh.org:80 redirects local stdio to www.openssh.org 80 through foo.bar.com It is equivalent to running $ ssh nc www.openssh.org 80 but using SSH port forwarding support (and that means that port forwarding should be allowed on the remote side) instead of a helper command. Cheers, - Salva