• We did not send an email asking for donations - please read this post.

Jumpbox problem about needing more ssh key's

jeremyy44

Member
Joined
Jan 20, 2021
Messages
45
Reaction score
8
Credits
425
Hi,

So here is my situation.
I have my user desktop, my jumpbox and my server.
My thought here is I want to use my jumpbox as well a jumpbox server for ssh, and it works.

But I tough I would only need to add the ssh key of the user to the jumpbox and the jumpbox to the server. Not the user key to the server. Am I missing something here or is my proxycommand not right? It looks like that
Code:
Host *tron
        User ***
        IdentityFile ~/.ssh/id_rsa
        ProxyCommand ssh -q jumpbox -W %h:%p

# Jumpbox
Host jumpbox
        HostName ***
        User ***
        IdentityFile ~/.ssh/id_rsa

# Server 
Host mediatron
        HostName ***

So what am I missing here? Did I not understand correctly how it works or is something wrong with my setup?

Thanks in advance
 


$100 Digital Ocean Credit
Get a free VM to test out Linux!

Linux.org Hosting Donations
Consider making a donation

Members online


Top