-
Notifications
You must be signed in to change notification settings - Fork 40
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Using vpnns for ssh? #15
Comments
I don't get this error on Ubuntu Bionic. If you use something like One quirk I do see is that under vpnns, ssh tries to save the remote's hostkey to
|
Thank you!
Hmmm, I installed ocproxy from the fedora repos which I guess are out of date. Weirdly, |
Yup, the fedora version was definitely at fault. When built from source, ocproxy works perfectly fine. |
I'm on Fedora 32 (kernel 5.6.19-300.fc32.x86_64). When I try running ssh through vpnns, I get the following message:
The process then exits immediately with status code 0.
I would ideally like to use vpnns, but even using ocproxy I'm having problems. In fact I can't get ocproxy to work at all for anything, whereas vpnns seems to work for everything but ssh.
With ocproxy, I'm running it like
openconnect --script-tun --script "ocproxy -L 2222:hostname:22" vpngateway --protocol=gp
.When I connect via
ssh -p2222 user@localhost
, it just hangs. Running ssh in verbose mode ends in the following:Adding the -v flag to ocproxy doesn't seem to give any more info.
Similar hanging behavior occurs when I try forwarding the address of an http server (
-L 8888:hostname:80
) and trying to open localhost:8888 it in firefox. In this case, I am actually able to get it to work with vpnns though when I start a new instance of firefox under vpnns.Any suggestions you can give as to how to use ssh with ocproxy/vpnns would be greatly appreciated.
The text was updated successfully, but these errors were encountered: