openssl-users  

Re: unable to ssh login into reverse ssh tunnel

Kyle Hamilton
Fri, 29 Jan 2010 16:10:12 -0800

This is not an SSH support list.

That being said, you need to set EnableRootLogin on in your sshd.conf
file.  You also need to ensure that at least one public key on the
home machine's authorized_keys file matches the secret key on your
work machine.

You need to find the "Portable OpenSSH" mailing list for additional assistance.

-Kyle H

On Fri, Jan 29, 2010 at 3:22 PM, sarta53 <sart...@yahoo.com> wrote:
> I'm having the following problem trying to ssh through a reverse ssh tunnel 
> (between 2 Linux boxes)
>
> From home, I want to log into my work computer which is behind a firewall.  
> So on my work computer, I log into my home computer like so:
>  ssh -R 7071:127.0.0.1:22 -p 22 u...@home_ip_address
>
> That should make my home computer listen on port 7071. So from home I should 
> be able to log into the work computer like so:
>
>  ssh localhost -p 7071  -v
>
> Unfortunately it gives the following error:
>
> OpenSSH_3.8p1 Debian 1:3.8p1-3, SSH protocols 1.5/2.0, OpenSSL 0.9.7d 17 Mar 
> 2004
> debug1: Reading configuration data /etc/ssh/ssh_config
> debug1: Applying options for localhost
> debug1: Applying options for *
> debug1: /etc/ssh/ssh_config line 33: Deprecated option "RhostsAuthentication"
> debug1: /etc/ssh/ssh_config line 37: Deprecated option "FallBackToRsh"
> debug1: /etc/ssh/ssh_config line 38: Deprecated option "UseRsh"
> debug1: Connecting to localhost [127.0.0.1] port 7071.
> debug1: Connection established.
> debug1: read PEM private key done: type DSA
> debug1: read PEM private key done: type RSA
> debug1: identity file /root/.ssh/identity type -1
> debug1: identity file /root/.ssh/id_rsa type -1
> debug1: identity file /root/.ssh/id_dsa type -1
> ssh_exchange_identification: Connection closed by remote host
>
> Is there a way to get this working by running SSH in a less secure mode or 
> anything?
>
>
>
>
> ______________________________________________________________________
> OpenSSL Project                                 http://www.openssl.org
> User Support Mailing List                    openssl-us...@openssl.org
> Automated List Manager                           majord...@openssl.org
>
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    openssl-users@openssl.org
Automated List Manager                           majord...@openssl.org