Bug 1661

Summary: netcat feature
Product: Portable OpenSSH Reporter: Salvador Fandiño <sfandino>
Component: sshAssignee: Assigned to nobody <unassigned-bugs>
Status: CLOSED DUPLICATE    
Severity: enhancement CC: dtucker
Priority: P2    
Version: -current   
Hardware: All   
OS: OpenBSD   
Attachments:
Description Flags
adds new option "-Ghost:port" that is equivalent to running "ssh nc host port" none

Description Salvador Fandiño 2009-10-21 10:32:55 AEDT
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
Comment 1 Darren Tucker 2009-10-21 10:46:25 AEDT
Thanks, but this is a duplicate.

*** This bug has been marked as a duplicate of bug 1618 ***
Comment 2 Damien Miller 2010-04-16 15:49:49 AEST
Mass move of bugs RESOLVED->CLOSED following the release of openssh-5.5p1