Bug 1661 - netcat feature
Summary: netcat feature
Status: CLOSED DUPLICATE of bug 1618
Alias: None
Product: Portable OpenSSH
Classification: Unclassified
Component: ssh (show other bugs)
Version: -current
Hardware: All OpenBSD
: P2 enhancement
Assignee: Assigned to nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-10-21 10:32 AEDT by Salvador Fandiño
Modified: 2010-04-16 15:49 AEST (History)
1 user (show)

See Also:


Attachments
adds new option "-Ghost:port" that is equivalent to running "ssh nc host port" (4.47 KB, patch)
2009-10-21 10:32 AEDT, Salvador Fandiño
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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