Skip to Content

How do i add in bastion server into the ssh gateway when i don’t know its password?

How to add a remote server into ssh gateway using SSH keys?


This article explains how to add a remote server to an SSH gateway using SSH keys, even when the root password is unknown.

When adding the target server to the SSH gateway, select 'keep server password' for password management, and manually add the SSH gateway's public key, which can be found in Servers -> Global key, to the /root/.ssh/authorized_keys file on the target server.

Related Article 

Setup public key in remote server

Ezeelogin public key to use in remote server

Different key based authentication to remote server

How do I change the password management option for all remote servers ?