ssh agent forwarding from extra host is not working
All,
Normally I'm using my dekstop to connect with ssh to server2 using agent forwarding on server1. This works! Desktop -> server1 -> server2 When I'm working at home, I'm using my windows laptop to connect to my dekstop. But then I'm not able to connect to server2 Laptop -> Desktop -> server1 (here it stops) -> server2 What can be the problem? Code:
user@server1: |
When you login to server1, is it pure SSH or OpenSSH?
|
'man ssh' gives me the following ouput:
ssh — OpenSSH SSH client (remote login program) |
What's debug output when connection is from Desktop directly? Authentication is failure.
|
You mean from desktop directly to server2? That is not possible because it is a virtual netwerk that it is in. I have to hop from server1, which has a connection to outside, to server2 which only has a connection in the virtual network.
|
Here is the last part of the log when connecting directly from my desktop,
the difference is the second line, where it uses the public key: 'debug1: Offering RSA public key: user@desktop.xxx.xx!' {code} debug1: Next authentication method: publickey debug1: Offering RSA public key: user@desktop.xxx.xx debug1: Server accepts key: pkalg rsa-sha2-512 blen 277 debug1: Authentication succeeded (publickey). Authenticated to 10.0.99.24 ([10.0.99.24]:22). debug1: channel 0: new [client-session] debug1: Requesting no-more-sessions@openssh.com debug1: Entering interactive session. debug1: pledge: network debug1: client_input_global_request: rtype hostkeys-00@openssh.com want_reply 0 debug1: Sending environment. debug1: Sending env XMODIFIERS = @im=none debug1: Sending env LANG = en_US.UTF-8 {code} |
Quote:
What's your virtual network? |
All times are GMT -5. The time now is 05:02 PM. |