SSH¶
This chapter contains an example of a basic Fudo PAM configuration, to monitor SSH access to a remote server.
In this scenario, the user connects to the remote server over the SSH protocol and logs in to the Fudo PAM using an individual login and password combination (john_smith
/john
). When establishing the connection with the remote server, Fudo PAM substitutes the login and the password with the previously defined values: root
/password
(authentication modes are described in the User authentication modes section).
Prerequisites¶
Description below assumes that the system has been already initiated. The initiation procedure is described in the System initiation topic.
Configuration¶
Adding a server
is a definition of the IT infrastructure resource, which can be accessed over one of the specified protocols.
- Select > .
- Click .
- Provide essential configuration parameters:
Parameter | Value |
---|---|
General | |
Name | ssh_server |
Blocked | |
Protocol | SSH |
Description | |
Permissions | |
Granted users | |
Destination host | |
Address | 10.0.150.150 |
Port | 22 |
- Click i to download the target server’s public key.
- 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 | |
Login | john_smith |
Fudo domain | |
Blocked | |
Account validity | Indefinite |
Role | user |
Preferred language | English |
Safes | |
Full name | John Smith |
john@smith.com |
|
Organization | |
Phone | |
AD Domain | |
LDAP Base | |
Permissions | |
Granted users | |
Authentication | |
Authentication failures | |
Enforce static password complexity | |
Type | Password |
Password | john |
Repeat password | john |
- 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 |
---|---|
General | |
Name | ssh_listener |
Blocked | |
Protocol | SSH |
Permissions | |
Granted users | |
Connection | |
Mode | proxy |
Local address | 10.0.150.151 |
Port | 1022 |
- Click i to generate the proxy server’s private key or i to upload the .PEM file private key definition.
Note
For security reasons the form displays server’s public key derived from the generated or uploaded private key.
- Click .
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 |
---|---|
General | |
Name | admin_ssh_server |
Account type | regular |
Session recording | complete |
OCR sessions | |
Delete session data after | 61 days |
Permissions | |
Granted users | |
Server | |
Server | ssh_server |
Credentials | |
Domain | |
Login | root |
Replace secret with | with password |
Password | password |
Repeat password | password |
Password change policy | Static, without restrictions |
Replace secret | |
Password changer | |
Password changer | None |
Privileged user | |
Privileged user password |
- Click i to generate the proxy server’s private key or i to upload the .PEM file private key definition.
Note
For security reasons the form displays server’s public key derived from the generated or uploaded private key.
- Click .
Defining 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 |
---|---|
General | |
Name | ssh_safe |
Notifications | |
Ask for login reason | |
Policies | |
Users | john_smith |
Protocol functionality | |
RDP | |
SSH | |
VNC | |
Accounts | |
admin_ssh_server |
ssh_listener |
- Click .
Establishing connection¶
At this point john_smith
can connect to the target host over the SSH protocol.
Example:
Note
Note that the fingerprint displayed when connecting to the target host for the first time is the same as was generated during server configuration.
After accepting the connection, user will be asked for the password. After successful authentication Fudo PAM starts recording user’s activities.
Viewing user session¶
- Open a web browser and go to the
10.0.150.151
web address. - Enter the login and password to login to the Fudo PAM administration panel.
- Select > .
- Find John Smith’s session and click i.
Related topics: