[Bug 1661] New: netcat feature

bugzilla-daemon at bugzilla.mindrot.org bugzilla-daemon at bugzilla.mindrot.org
Wed Oct 21 10:32:56 EST 2009


https://bugzilla.mindrot.org/show_bug.cgi?id=1661

           Summary: netcat feature
           Product: Portable OpenSSH
           Version: -current
          Platform: All
        OS/Version: OpenBSD
            Status: NEW
          Severity: enhancement
          Priority: P2
         Component: ssh
        AssignedTo: unassigned-bugs at mindrot.org
        ReportedBy: sfandino at yahoo.com


Created an attachment (id=1701)
 --> (https://bugzilla.mindrot.org/attachment.cgi?id=1701)
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

-- 
Configure bugmail: https://bugzilla.mindrot.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.


More information about the openssh-bugs mailing list