error trying to use Corkscrew with ssh
- From: "ghand" <ghand45@xxxxxxxxxxx>
- Date: 5 May 2012 23:30:11 +0100
stevecomp can access Boris who can access Doris
stevecomp cannot access Doris directly.
run from Steve@stevecomp
I'm trying to get an SSH connection to Boris, through Boris's HTTP Server.
(I see my HTTP Proxy)
$curl --proxy Boris:808 http://ifconfig.me/ip
95.33.56.32
(I can do this)
$ ssh -t Boris ssh dscomp
Last login:..
(I don't think they use the same public keys in any way but it works, they
know each other in known_hosts and authorized_keys. And I set a config file
on Steve and Boris, so it enters the username for me)
But I want to use corksrew and go through an HTTP Proxy.
$ ssh -o ProxyCommand="corkscrew 192.168.1.67 808 %h %p" Doris
ssh_exchange_identification: Connection closed by remote host
Steve@cfw5 ~
$ ssh -o ProxyCommand="corkscrew 192.168.1.67 808 %h %p" Doris -vvv
OpenSSH_6.0p1, OpenSSL 1.0.1b 26 Apr 2012
debug1: Reading configuration data /home/Steve/.ssh/config
debug1: /home/Steve/.ssh/config line 1: Applying options for *
debug1: /home/Steve/.ssh/config line 7: Applying options for Doris
debug1: Reading configuration data /etc/ssh_config
debug2: ssh_connect: needpriv 0
debug1: Executing proxy command: exec corkscrew 192.168.1.67 808 Doris 22
debug1: permanently_drop_suid: 500
debug3: Incorrect RSA1 identifier
debug3: Could not load "/home/Steve/.ssh/id_rsa" as a RSA1 public key
debug1: identity file /home/Steve/.ssh/id_rsa type 1
debug1: identity file /home/Steve/.ssh/id_rsa-cert type -1
debug1: identity file /home/Steve/.ssh/id_dsa type -1
debug1: identity file /home/Steve/.ssh/id_dsa-cert type -1
debug1: identity file /home/Steve/.ssh/id_ecdsa type -1
debug1: identity file /home/Steve/.ssh/id_ecdsa-cert type -1
ssh_exchange_identification: Connection closed by remote host
I get the same problem if I just try to connect Steve to Boris through Boris's
HTTP Proxy
$ ssh -o ProxyCommand="corkscrew 192.168.1.67 808 %h %p" Boris
ssh_exchange_identification: Connection closed by remote host
.
- Follow-Ups:
- Re: error trying to use Corkscrew with ssh
- From: ghand
- Re: error trying to use Corkscrew with ssh
- From: Simon Tatham
- Re: error trying to use Corkscrew with ssh
- From: ghand
- Re: error trying to use Corkscrew with ssh
- From: Wolfgang Meiners
- Re: error trying to use Corkscrew with ssh
- Prev by Date: Re: error trying to use Corkscrew with ssh
- Next by Date: Re: error trying to use Corkscrew with ssh
- Previous by thread: Re: How to sniff ssh traffic at Layer3/Layer4, GIVEN you have the private key?
- Next by thread: Re: error trying to use Corkscrew with ssh
- Index(es):
Relevant Pages
|