#!/bin/sh . ~/.keymanager.sh HOST=${1:-$(zenity --title "SSH To Host" --entry --text "Enter Hostname to SSH to.")} if [ -f ~/.screen-hosts/$HOST ]; then TERMCMDLINE="-sl 0 -sb +si -e ssh $HOST" else TERMCMDLINE="+si -e ssh $HOST" fi x-terminal-emulator $TERMCMDLINE