Re: netcat for z/OS?

2024-01-12 Thread Kirk Wolf
I can neither confirm nor deny that IBM's ssh-proxyc is based on BSD netcat.

Kirk Wolf
Dovetailed Technologies
http:// coztoolkit.com

On Fri, Jan 12, 2024, at 10:42 AM, Grant Taylor wrote:
> On 1/12/24 10:02 AM, Kirk Wolf wrote:
> > IBM ships a command with z/OS:  "ssh-proxyc  - HTTP SOCKS-5 Proxy 
> > command for ssh client"
> 
> Based on the name, that seems to support SOCKS(5) proxy servers.
> 
> The (BSD) netcat (nc) `-X` means to use the HTTP(S) CONNECT protocol proxy.
> 
> > See the IBM z/OS OpenSSH User's Guide for more information.
> 
> I don't have convenient access to that document.  Though I should find a 
> copy as I hope it's as interesting as it could be.
> 
> 
> 
> -- 
> Grant. . . .
> unix || die
> 
> --
> For IBM-MAIN subscribe / signoff / archive access instructions,
> send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
> 

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: netcat for z/OS?

2024-01-12 Thread Frank Swarbrick
Yeah, I need a ssh-proxyh, I think!

From: IBM Mainframe Discussion List  on behalf of 
Grant Taylor <023065957af1-dmarc-requ...@listserv.ua.edu>
Sent: Friday, January 12, 2024 9:42 AM
To: IBM-MAIN@LISTSERV.UA.EDU 
Subject: Re: netcat for z/OS?

On 1/12/24 10:02 AM, Kirk Wolf wrote:
> IBM ships a command with z/OS:  "ssh-proxyc  - HTTP SOCKS-5 Proxy
> command for ssh client"

Based on the name, that seems to support SOCKS(5) proxy servers.

The (BSD) netcat (nc) `-X` means to use the HTTP(S) CONNECT protocol proxy.

> See the IBM z/OS OpenSSH User's Guide for more information.

I don't have convenient access to that document.  Though I should find a
copy as I hope it's as interesting as it could be.



--
Grant. . . .
unix || die

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: netcat for z/OS?

2024-01-12 Thread Grant Taylor

On 1/12/24 10:02 AM, Kirk Wolf wrote:
IBM ships a command with z/OS:  "ssh-proxyc  - HTTP SOCKS-5 Proxy 
command for ssh client"


Based on the name, that seems to support SOCKS(5) proxy servers.

The (BSD) netcat (nc) `-X` means to use the HTTP(S) CONNECT protocol proxy.


See the IBM z/OS OpenSSH User's Guide for more information.


I don't have convenient access to that document.  Though I should find a 
copy as I hope it's as interesting as it could be.




--
Grant. . . .
unix || die

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: netcat for z/OS?

2024-01-12 Thread Kirk Wolf
IBM ships a command with z/OS:  "ssh-proxyc  - HTTP SOCKS-5 Proxy command for 
ssh client"
See the IBM z/OS OpenSSH User's Guide for more information.

Kirk Wolf
Dovetailed Technologies
http:// coztoolkit.com

On Thu, Jan 11, 2024, at 10:16 PM, Frank Swarbrick wrote:
> Is there a netcat or netcat-like tool for z/OS?  Something that can connect 
> to an HTTP proxy?
> The goal is to tunnel an SSH session through an HTTPS proxy.  For example, 
> this works on Linux:
> 
> ssh -o "ProxyCommand nc -X connect -x myproxy:3128 %h %p" g...@ssh.github.com 
> -p 443
> I need nc or something similar on z/OS.  I did find something called 
> NC110-OMVS on github, but I would need to have a license for the C compiler 
> to build it; which I do not have.  There is a "binaries" directory with just 
> 'nc' in it, but it doesn't appear to be in z/OS executable format...
> 
> There's also one written in Go, so maybe that's a possibility, but if there's 
> something already built that would be great.
> 
> Thanks,
> Frank
> 
> --
> For IBM-MAIN subscribe / signoff / archive access instructions,
> send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
> 

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN