LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices

Reply
 
Search this Thread
Old 08-16-2011, 02:21 AM   #1
morningsunshine
LQ Newbie
 
Registered: Aug 2011
Posts: 1

Rep: Reputation: Disabled
SSH tunneling connection fails


Hi friends,

My sys admin has set up ssh tunneling in our network. I am facing an issue with ssh tunneling connection and he has refused any help.

There are 2 servers on which he has configured access through ssh tunnels.

A. server1 -> jump pad
B. server2

I have to reach server2 via server1. On my ubuntu system, this is my .ssh/config file -
Code:
host server1
        Hostname server1.company.org
        ForwardX11 yes
        ForwardAgent yes
        TCPKeepAlive yes

host server2
        Hostname server1.company.org
        TCPKeepAlive yes
        User sunshine
        IdentityFile ~/.ssh/
#      Application access
        LocalForward localhost:10000 192.168.1.10:10000
192.168.1.10 -> server2 IP

I login as root and I can ssh directly to server1 by
Code:
ssh sunshine@server1
And as per my sys admin, I should also be able to reach server2 by doing
Code:
http://localhost:10000
However, I can't reach server2.

I get this when trying
Code:
ssh sunshine@server2
->
Code:
Enter passphrase for key '/root/.ssh/':
Can someone please tell me if I need to configure something else at my system or if I am doing something wrong?

My admin is not helping and I need to correct this at my end.

Thanks much in advance.

Last edited by morningsunshine; 08-16-2011 at 12:54 PM.
 
Old 08-17-2011, 02:28 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,386

Rep: Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963
IdentitiesFiles requires, as the name kinda implies, a file, not a directory, so ~/.ssh/id_dsa or such instead of just ~/.ssh
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
About SSH Tunneling RedNeck-LQ Linux - General 3 07-25-2011 09:34 AM
[SOLVED] XDMCP tunneling in Xming portable PuTTY SSH connection ljlayne Linux - Enterprise 0 07-21-2011 05:40 PM
SSH tunneling xeon123 Linux - Security 1 12-09-2009 07:41 AM
X tunneling with SSH phekno Linux - Networking 3 05-31-2005 10:43 AM
SSH tunneling X AzZuM Linux - Security 3 11-27-2004 01:59 AM


All times are GMT -5. The time now is 09:20 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration