SSH in Bastion Mode with Jump Host Option¶
Fudo Enterprise allows for establishing a connection to a server using the Jump Host option.
This scenario assumes that when the user connects to a server acting as a Jump Host (192.168.10.90) via the SSH protocol, it automatically connects to the target server. The user must specify the following in the login string:
- Username,
- Account login on the Jump Host,
- Address of the Jump Host,
- Account login on the target server,
- Address of the target server.
Prerequisites¶
Description below assumes that the system has been already initiated. The initiation procedure is described in the System initiation topic.
Configuration¶
Adding a Jump Host Server
is a definition of the IT infrastructure resource, which can be accessed over one of the specified protocols.
In the following configuration, provide the details of the server acting as the Jump Host.
- Select > .
- Click .
- Provide essential configuration parameters:
Parameter | Value |
---|---|
Name | ssh_server |
Description | ![]() |
Blocked | ![]() |
Protocol | SSH |
Legacy cipher | ![]() |
Bind address | Any |
Destination | |
IPv4 | 192.168.10.90 |
Port | 22 |
- In the Server verification section select Server public key and click or provide respective public key data.
- Click
Adding a User
User defines a subject entitled to connect to servers within monitored IT infrastructure. Detailed object definition (i.e. unique login and domain combination, full name, email address etc.) enables precise accountability of user actions when login and password are substituted with a shared account login credentials.
- Select > .
- Click .
- Provide essential user information:
Parameter | Value |
---|---|
General | |
Name | john_smith |
Role | user |
Blocked | ![]() |
Account validity | Indefinite |
Settings Tab | |
Safes | ![]() |
Authentication section | |
Authentication failures | ![]() |
Enforce password complexity | ![]() |
Add authentication method: | Static password |
Password | john |
User Data Tab | |
Fudo domain | ![]() |
AD Domain | ![]() |
LDAP Base | ![]() |
Full name | John Smith |
john@smith.com |
|
Organization | ![]() |
Phone | ![]() |
Permissions Tab | |
Granted users | ![]() |
- Click .
Adding a Listener
determines server connection mode (proxy, gateway, transparent, bastion) as well as its specifics.
- Select > .
- Click
- Provide essential configuration parameters:
Parameter | Value |
---|---|
Name | ssh_listener |
Blocked | ![]() |
Protocol | SSH |
Legacy cipher | ![]() |
Case insensitive | ![]() |
Permissions | |
Authorized users | ![]() |
Connection mode | Bastion |
Local address | 10.0.150.151 |
Port | 22 |
External address | ![]() |
External port | ![]() |
- Click i to generate an SSH key or i to upload the server’s private key.
Note
For security reasons, the form will display the public key corresponding to the uploaded or generated private key.
- Click
Note
Ensure that administrative access is not enabled in the network settings for the specified IP address - .
Adding an Account
defines the privileged account existing on the monitored server. It specifies the actual login credentials, user authentication mode: anonymous (without user authentication), regular (with login credentials substitution) or forward (with login and password forwarding); password changing policy as well as the password changer itself.
- Select > .
- Click .
- Provide essential configuration parameters:
Parameter | Value |
---|---|
Name | admin_ssh_server |
Blocked | ![]() |
Type | REGULAR |
Session recording | noraw |
Notes | ![]() |
Permissions | |
Granted users | ![]() |
Target | |
Server | ssh_server |
Credentials | |
Domain | ![]() |
Login | root |
Replace secret | password |
Password | password |
Data retention | |
Override global retention settings | ![]() |
- Click
Adding a Safe
directly regulates user access to monitored servers. It specifies available protocols’ features, policies and other details concerning users and servers relations.
- Select > .
- Click
- Provide essential configuration parameters:
Parameter | Value |
---|---|
Name | ssh_safe |
Blocked | ![]() |
General | |
Login reason | ![]() |
Session timeout | ![]() |
Session inactivity timeout | ![]() |
Functionality | |
RDP | ![]() |
SSH | ![]() |
VNC | ![]() |
- Go to the USERS tab.
- Click
- Find and select the user john_smith.
- Click
- Go to the ACCOUNTS tab.
- Click
- Find and select the account
admin_ssh_server
. - Click
- Click in the Listeners column.
- Find and select the object
ssh_listener.
- Click
- Click
Establishing a Connection¶
To establish a connection, use the following login string format in the terminal. The example below demonstrates logging in as root to the server 192.168.0.110 via the Jump Host server at 192.168.10.90.
ssh -J '<fudo-user>%%<jump-host-server-user>%%<jump-host-server-address>@<fudo-address>' <target-server-user>@<target-server-address>
Example:
ssh -J 'john_smith%%root%%192.168.10.90@10.0.150.151' root@192.168.0.110
Related Topics: