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
 


MALIBAL Linux Laptops

Linux Laptops Custom Built for You
MALIBAL is an innovative computer manufacturer that produces high-performance, custom laptops for Linux.

For more info, visit: https://www.malibal.com

Staff online


Top