I'm trying to get ssh working with an http proxy via corkscrew.
Here is the error:
[echox@archbox:~] % ssh somehost.tld
zsh: No such file or directory
ssh_exchange_identification: Connection closed by remote host
Here is the content of ~/.ssh/config
Host *
ProxyCommand /usr/bin/corkscrew http-proxy.some.proxy.tld 8080 %h %p
I would bet the ProxyCommand is not found, but /usr/bin/corkscrew
is working, its also in my PATH. corkscrew
without path is also not working.
[echox@archbox:~] % corkscrew http-proxy.some.proxy.tld 8080 some.ssh.host.tld 22
works fine invoked directly.
Any idea?
Best Answer
Ok, I totally forgot about
-vvv
:-) Here is the output:The key is the line with
ssh_connect: needpriv 0
. I forgot to add my user to the network group in /etc/group. The connection worked with root and after adding the user to network it works also for him now.Connections without corkscrew did work before. Does anybody have an idea where this "security" setting is stored? I can't find anything in the arch linux wiki, /etc/,
man ssh
and the corkscrew source / corkscrew documentation which checks for the network group.