You are not logged in.

#1 2013-07-09 14:43:32

elav
Member
From: /var/www/archforum
Registered: 2011-12-24
Posts: 33
Website

Problem with SSH + Corkscrew

Hello everyone.

A couple of days ago I installed Arch Linux and this delighted with this distribution. I'm using Debian normally and there are some things change, but so far everything works fine except the SSH connection to a remote server using corkscrew.

ssh -vvv root@server.net
OpenSSH_6.2p2, OpenSSL 1.0.1e 11 Feb 2013
debug1: Reading configuration data /home/elav/.ssh/config
debug1: /home/elav/.ssh/config line 6: Applying options for server.net
debug1: Reading configuration data /etc/ssh/ssh_config
debug2: ssh_connect: needpriv 0
debug1: Executing proxy command: exec corkscrew 192.168.X.X 3128  server.net 443
debug1: permanently_drop_suid: 1000
debug3: Incorrect RSA1 identifier
debug3: Could not load "/home/elav/.ssh/id_rsa" as a RSA1 public key
debug1: identity file /home/elav/.ssh/id_rsa type 1
debug1: identity file /home/elav/.ssh/id_rsa-cert type -1
debug1: identity file /home/elav/.ssh/id_dsa type -1
debug1: identity file /home/elav/.ssh/id_dsa-cert type -1
debug1: identity file /home/elav/.ssh/id_ecdsa type -1
debug1: identity file /home/elav/.ssh/id_ecdsa-cert type -1
debug1: Enabling compatibility mode for protocol 2.0
debug1: Local version string SSH-2.0-OpenSSH_6.2
ssh_exchange_identification: Connection closed by remote host

This is the output of SSH. The funny thing is that I have another computer with Debian and connects perfectly.

In Arch, I installed Putty and able to connect without problems. I was reading online and some suggested add lines (sshd: allow) to /etc/hosts.allow and /etc/hosts.deny, but these files do not exist. Even the thought, and neither worked.

I need help. Thanks

Offline

#2 2013-07-15 23:53:27

cfr
Member
From: Cymru
Registered: 2011-11-27
Posts: 7,156

Re: Problem with SSH + Corkscrew

Welcome to Arch. It seems not to like your key file ~/id_rsa. Are you sure you generated your key pair correctly?

Don't know if this is an option but can you connect without corkscrew just to test the ssh configuration?

Post ssh_config. (Obviously you can remove anything sensitive if appropriate.)

Last edited by cfr (2013-07-15 23:55:27)


CLI Paste | How To Ask Questions

Arch Linux | x86_64 | GPT | EFI boot | refind | stub loader | systemd | LVM2 on LUKS
Lenovo x270 | Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz | Intel Wireless 8265/8275 | US keyboard w/ Euro | 512G NVMe INTEL SSDPEKKF512G7L

Offline

#3 2013-07-16 15:30:39

elav
Member
From: /var/www/archforum
Registered: 2011-12-24
Posts: 33
Website

Re: Problem with SSH + Corkscrew

Thanks cfr..

My ~/.ssh/config

Host    localhost
Proxycommand    none

Host    url.net
User    user
Hostname        url.net
Port    443
Proxycommand    corkscrew 192.168.X.X 3128  %h %p
DynamicForward  1080
Compression     yes
LocalForward    8181    localhost:8181

And yes.. I have generated my key pair correctly.. wink

Unfortunately I have to use corkscrew to connect via DNS, because my ISP has blocked me to connect by IP.

Last edited by elav (2013-07-16 15:31:22)

Offline

Board footer

Powered by FluxBB