How To Set Up SSH Keys

About SSH Keys SSH keys provide a more secure way of logging into a virtual private server with SSH than using a password alone. While a password can eventually be cracked with a brute force attack, SSH keys are nearly impossible to decipher by brute force alone. Generating a key pair provides you with two long string of characters: a public and a private key. You can place the public key on any server, and…

shell prompt image

How to get to a service/server which is on an inaccessible network (using SSH tunnels)

In the latest of ourĀ ‘just the examples’, imagine you are in a scenario where you want to ssh to a server (or even browse a web page etc) on a server you cannot directly get to. You do, however have access from your box (localhost) to a server (server1) that can connect to that server (let’s call that server2). Here’s how to ssh tunnel that shit! Let’s assume that your username is bob, but the…