06-PAM-ADMIN Accounts-Pt2
06-PAM-ADMIN Accounts-Pt2
– Reconcile accounts
Agenda • Describe and configure SSH key
management
10
12
A reconcile account is
typically a Domain account
with sufficient rights to force
a password change
13
Success or failure
16
17
cyberark.com
To authenticate with SSH keys, the user must first generate a public/private key-pair locally on her
machine and then install the public key in her user directory on the target server (or servers)
through a password authenticated session.
• Once that is done, the user can authenticate using the SSH keys.
• She launches a connection to the remote server.
• The server then encrypts a random prime number with the user’s public key and
transmits that back to the user, who must then decrypt the number with her Private Key Public Key
corresponding private key.
• She then generates a hash of the prime number and returns it to the server.
• The server compares it with its own hash of the prime.
• If they match, then this proves that the user must have the private half of the key-pair
(because only the private key can decrypt what has been encrypted with the public key.)
• The server therefore allows the connection to be established. 19
192.168.41.37
FTP primary Server
root
192.168.41.38
FTP backup Server
192.168.40.4
Billing Application
192.168.40.5
Billing backend Server
cyberark.com
• One private key can be used to access multiple systems. If it is compromised, all the systems
that trust it are vulnerable
• SSH keys are more difficult to change than passwords
192.168.41.37
FTP primary Server
root
192.168.41.38
FTP backup Server
192.168.40.4
Billing Application
192.168.40.5
Billing backend Server
cyberark.com
• Creates unique key-pairs for each target system.
• Private keys are stored in the Vault, not on user workstations.
• The CPM changes key-pairs often and automatically disseminates public keys to target
systems.
• End users retrieve the private key from the Vault to authenticate to the target system.
root
192.168.41.38
FTP backup Server
192.168.40.4
Billing Application
22
26
27
28