# ssh2host v0.1 # ------------------------------------------ # neuronal@systemfailure.org - 11/08/2002 - #!/bin/bash case "$1" in 'phear') ssh -l $2 ssh.systemfailure.org ;; 'barbeito') ssh -l $2 -P 2223 nombreServidor.com ;; 'alcoy') ssh -l $2 -P 23 aaa.bbb.ccc ;; # 'nombre') # ssh -l $2 [-P puerto] direccion # ;; *) echo -e " Uso: `basename $0` { phear\033[1;37m|\033[0mbarbeito\033[1;37m|\033[0malcoy } usuario" echo esac