Skip to Content

SSH Connection to a Remote Server Using the Same Username as SSH Gateway User

How to establish an SSH connection to a remote server while maintaining the same username used for logging into the Ezeelogin SSH gateway?

Yes, can be achieved using the pass user through feature.

For eg: SSH gateway user 'Ted' would be logged in as user 'Ted' on the remote server as well.

A user by the same name as the SSH gateway user should exist on the remote servers for the  'Pass user through' feature to work. If you want the remote ssh users to be managed automatically, then use the sub ssh user feature.

 *  You can enable this option from Users -> ADD/EDIT  -> Pass User Through -> Yes

How to view if the gateway user is mapped as the pass user through?

1. Press the 'Tab' key on the server list to view the mapped details.

2. Press the '+' icon on the left side of the server name to expand and view the mapped details.

* You can add an SSH private key and passphrase or it will ssh to the remote server with the same password as the Ezeelogin gateway user. 

* Also you can copy the SSH Global Public Key and update it on the file /home/{username}/.ssh/authorized_keys file so that you do not have to enter the user's password or add an extra key.