Security / DNSSEC Workshop: Cryptography Application SSH
Security / DNSSEC Workshop: Cryptography Application SSH
Cryptography Application
SSH
Servers
Terminal
Routers
Security / DNSSEC Workshop | SANOG 26: 03 - 11 August, 2015 | Mumbai, India 3
Encrypted (SSH)
Servers
Terminal
Routers
Security / DNSSEC Workshop | SANOG 26: 03 - 11 August, 2015 | Mumbai, India 4
Secure Shell (SSH)
• Provides authenticated and encrypted shell access to a remote host
username
ssh sshd
Terminal ý Server
password?
ssh sshd
Terminal ý Server
password
ssh sshd
Terminal ý Server
access granted
ssh sshd
Terminal þ Server
Terminal ý Server
Terminal ý Server
authorized_keys
Security / DNSSEC Workshop | SANOG 26: 03 - 11 August, 2015 | Mumbai, India 13
Public Key Access
3. The ssh client receives the key challenge. It finds the user's private
key on the local system, but it's protected by an encrypting passphrase.
ssh sshd
Terminal
key.priv
ý Server
ssh sshd
Terminal ý Server
Terminal ý Server
access granted
ssh sshd
Terminal þ Server
decrypt
4. The agent takes this random number,
appends the previously negotiated SSH session Challenge session
(clear text) ID
ID and creates an MD5 hash value of the
resultant string: this result is sent back to the MD5 hash
granted.
• Store Private Key ONLY on your laptop and protect your laptop
(Encrypt Disk!).
– Linux
– MacOS X
27:99:35:e4:ab:9b:d8:50:6a:8b:27:08:2f:44:d4:20 [email protected]
source : http://xkcd.com/936/
– Pageant (an SSH authentication agent for PuTTY, PSCP, PSFTP, and
Plink)
username@ipaddress