Kev's Site
  • Home
  • Games
  • Categories
  • Tags
  • About

#Ssh

CLI-Labyrinth

March 2, 2024 (Last modified on March 31, 2024)

/img/cli-labyrinth.png
One of the very first games I ever played on a home computer was a maze game called Labyrinth on the Sinclair ZX81. So when I wanted to learn Golang and delve a little deeper into terminal cli development, I decided to start with a simple maze game that could be run in a shell on the Linux command line. As you can see from the screenshot, the graphics could, at best, be describes as very basic.
Read More

Connect to PostgreSQL using an SSH tunnel

January 4, 2014

Using an SSH tunnel is a great way to administer remote services without having to directly expose them to the internet. You basically forward a port from your local machine (e.g. your Linux desktop) to a port on the remote server. You can then connect to the port on localhost and the magic of ssh will forward the port securely to the remote machine. To the remote server you’ve connected locally on localhost!
Read More

How to speed up a slow SSH login

October 10, 2013

I recently started using the excellent digital ocean for some of my cloud server hosting. When logging into my servers there was quite a delay, often a minute or more, before the password prompt appeared. I was getting the same delay when I use SSH keys for authentication too.

Read More

Extracting SSH keys from a Java keystore (jks) file

September 23, 2011

I needed to extract/generate a public ssh key from a java keystore so that the Java application could SFTP some files using public key authentication.

The problem was that I couldn’t find any way of converting an ssl public key to an ssh public key. It seems that although ssl and ssh private keys are compatible, the public keys are not.

Read More

 © 2009 - 2025 Kevin Ellis