How do I encrypt my SSH keys?

To make a new SSH key pair (private + public keys), use ssh-keygen. If you enter a passphrase, the private key file will be encrypted with that password. $ $ ssh-keygen -t rsa -f ~/.ssh/newkeyGenerating public/private rsa key pair.Enter passphrase (empty for no passphrase):Enter same passphrase again:Your identification has been saved in /Users/jsmith/.ssh/newkey.Your public key …

Continue reading ‘How do I encrypt my SSH keys?’ »

How to I secure a Solaris 10 server?

Some steps towards securing Solaris 10: To list services: # inetadm Tell Solaris not to listen on port 25: # svccfg -s svc:/network/smtp:sendmail setprop config/local_only = true # svcadm refresh svc:/network/smtp:sendmail Disable vulnerable services: # inetadm -d ftp # inetadm -d telnet # inetadm -d finger Disable Berkeley r* services: # inetadm -d rlogin # …

Continue reading ‘How to I secure a Solaris 10 server?’ »