TagSSH

How To Connect Via SSH Using a Specified Cipher

When you use SSH, you normally just want to connect securely to a host, and you don’t really care about what cipher to use. In other cases, however, you might want to use a specific cipher, perhaps for compliance reasons, or perhaps because you are paranoid and want to make sure that you are connecting using your favorite cipher. Both are perfectly good reasons :P

SSH allows you to use a specific cipher when you connect to a host. First of all, you need to see what ciphers are available on your operating system. This is the command to list them:

ssh -Q cipher

At this point, you can connect to a host via SSH specifying one of these ciphers in the following way:

ssh user@host -c cipher

So, if you want to connect using AES256, you would type this:

ssh user@host -c aes256-cbc

How To Permanently Add An SSH Key To The Keychain In macOS Sierra

On versions of macOS before Sierra, all you had to do to add an SSH key to the Keychain was to run this command:

ssh-add -K keyname

macOS Sierra implements OpenSSH version 7.3p1, which makes this command behave differently. Using ssh-add -K results in the key being added only temporarily: after a reboot, you need to run the command again.

Continue reading

Run Your Ghost Blog On A DigitalOcean Droplet Using A Custom Domain Name

Longest blog post title ever. Anyway, this is a summary of how to get started with a Ghost blog running on a DigitalOcean droplet if you want the blog to be accessible using your own domain name. I decided to write this article because, while the procedure is far from complicated, it requires several steps (you have to work with your Ghost blog configuration files, with your DigitalOcean account and with your domain name registrar) so it’s easy to get confused and miss something.

Continue reading

© 2018 Daniel's TechBlog

Theme by Anders NorénUp ↑

%d bloggers like this: