Have you ever needed to access a site that had an IP restriction, or one inside your remote network? Recently I need to access a customers remote monitoring site, but its restricted to a small subnet of IPs. They had no VPN setup for me, so I had to come up with something new… The […]
SSH Wrapper Script
Ok — this is my first script that I’m posting here. Its a VERY simple ssh wrapper script that you can place in your path, preferably in ~/bin #!/bin/bash SSH=”/usr/bin/ssh” case “$*” in *’@’*) $SSH $* ;; *’ -l’*) $SSH $* ;; *) $SSH -l root $* ;; esac What this […]