Airport Extreme setup via SSH Tunnel

I have disabled remote configuration on my Airport Extreme but was out of town and needed to add a new port to the router and forward it to an internal machine, made me scratch my head a bit.  After some googling I found information on setting up an SSH tunnel to assist with this. Continue reading Airport Extreme setup via SSH Tunnel

Faster SSH connection to the same server

Recently I was in search of some ways to speed up my SSH connections as I spend a lot of my days within the terminal.  I came across this handy little gem which can help you connect faster to a server that you already have a connection to.  There is a feature within OpenSSH called connection sharing and its really easy to enable, and requires no edits to the server. Continue reading Faster SSH connection to the same server

SSH automatic login assistance script

A while ago I did a write up on SSH keys, anyways I was looking into it a little more today and came across this handy little script that makes it… well simple.  I didn’t write it myself, I found it over here.  Go ahead and give it a try it works like a charm.

#!/bin/bash
# say: ./pussh.sh hostname
# Uploads your id_rsa.pub to the specified host, wrapped for readability
if [ ! -r ${HOME}/.ssh/id_rsa.pub ]; then
ssh-keygen -b 2048 -t rsa
fi
# Append to the copy on the remote server
cat ~/.ssh/id_rsa.pub | ssh ${USER}@ "cat - >> .ssh/authorized_keys"

if [ $? -eq 0 ]; then
echo "Success"
fi