'Double log-in' with SSH keys?
I recently configured my computers to not allow password login and only allow publickey access.
Prior to this using passwords I was able, on my home network, to:
When I try this now, I get Code:
Permission denied (publickey,keyboard-interactive) |
Hi,
the private key should only on computer 1, but you need to enable authentication forwarding when you ssh to computer 2. This can be done using the -A option. If this does not work you should check the output logged by sshd on computer 3. On Debian and derived systems this is usually /var/log/auth.log and on RHEL /var/log/secure. You should also run ssh with -vvv for extra verbose output. Evo2. |
Quote:
|
Hi,
Quote:
Assuming that you are doing this because you can't ssh from computer 1 directly to computer 3, you might find the following thread interesting. http://www.linuxquestions.org/questi...nd-4175506340/ You'll want to add Code:
ForwardAgent yes In that post serverA, serverB and serverC map directly to your "computer 1", "computer 2" and "computer 3". HTH, Evo2. |
All times are GMT -5. The time now is 12:20 PM. |