LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 11-03-2011, 07:21 AM   #1
nak1090
LQ Newbie
 
Registered: Oct 2011
Posts: 7

Rep: Reputation: Disabled
Question SSH agent forwarding - without password


I have a diagram A<-->B<-->C
A <---> B: SSH without password by key-based authentication
B <---> C: SSH without password by key-based authentication
And I want A <---> C: ssh without password which don't use key-based authentication (B is forwarding)
Although I have config in /etc/ssh/ssh_config
Quote:
Host *
ForwardAgent yes
But it not working :-s

Thanks!
 
Old 11-03-2011, 09:17 AM   #2
Juako
Member
 
Registered: Mar 2010
Posts: 202

Rep: Reputation: 84
What command line are you using to connect?
 
Old 11-03-2011, 10:05 AM   #3
nak1090
LQ Newbie
 
Registered: Oct 2011
Posts: 7

Original Poster
Rep: Reputation: Disabled
At PC_A, I'm using
Quote:
ssh root@ip_address_PC_C
 
Old 11-03-2011, 10:14 AM   #4
Juako
Member
 
Registered: Mar 2010
Posts: 202

Rep: Reputation: 84
Well if you already can connect to each host with key authentication that part is done. In that case, try first using the -A switch in your command lines to jump hosts.
 
Old 11-23-2011, 12:25 PM   #5
nak1090
LQ Newbie
 
Registered: Oct 2011
Posts: 7

Original Poster
Rep: Reputation: Disabled
Hi Juako,
It's not working. With your command -A (A and C request password to ssh).
Any way else..
 
  


Reply

Tags
ssh access, ssh forwarding


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
ssh-agent forwarding (order of authentication) podollb Linux - Software 8 11-03-2011 07:17 AM
[SOLVED] ssh-agent -> The agent has no identities. windstory Linux - Security 2 11-19-2008 06:45 PM
ssh-agent, ssh-add and ssh-keygen AND CVS raylpc Linux - General 2 11-19-2008 02:50 AM
need help with no password ssh and ssh-agent hedpe Linux - Networking 3 02-08-2007 08:49 PM
ssh-agent/ssh-add question mega Slackware 2 01-26-2005 03:09 AM


All times are GMT -5. The time now is 02:02 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