# created by: Peter Hudec (hudecof@hudecof.sk) # date: 06.08.2002 # version: 0.2 #!/bin/sh if [ $# -eq 0 ]; then CONFIG=${0##*mySSH-} else CONFIG=$1 fi if [ ! -d $HOME/.mySSH ]; then mkdir $HOME/.mySSH fi if [ ! -f $HOME/.mySSH/${CONFIG} ]; then echo "No config file for ${CONFIG} in ${HOME}/.mySSH" exit 0 fi . $HOME/.mySSH/${CONFIG} ssh $PARAMS $REMOTE_USER@$REMOTE_HOST