Skip to content

Instantly share code, notes, and snippets.

@ddschmitz
ddschmitz / qssh.fish
Created June 15, 2016 22:54
Quick-SSH
#!/usr/bin/fish
#
# Author: Darrin Schmitz
# Date: 04/14/2016
function qssh
set option $argv
if not count $argv > /dev/null
printf "\n\n\nWhere would you like to connect to?\n\n"
@ddschmitz
ddschmitz / qssh.sh
Created June 15, 2016 22:53
Quick-SSH
#!/bin/bash
#
# Author: Darrin Schmitz
# Date: 01/20/2016
option=$1
if [ -z "$1" ]; then
printf "\n\n\nWhere would you like to connect to?\n\n"
printf "1) user@192.168.1.1\n\n" #Replace these with the connections you wish to make.