#  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
 
codigo/bash/ssh2host.txt · Última modificación: 2006/12/08 22:39 (editor externo)
 
Recent changes RSS feed Creative Commons License Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki