comparison .bash_aliases @ 60:c27db9abf42c

* Removed 'sy' alias - syrinx is no more * Added 't' alias for tunneling SSH * Edited condor_check, hydra is no more either
author huston@80426f53-59d1-405d-934b-f07cd76f4a1a
date Fri, 06 Jul 2012 20:33:15 +0000
parents 326071a2c195
children d59d16a55494
comparison
equal deleted inserted replaced
59:301977c12bb2 60:c27db9abf42c
55 alias j='ssh joshua.srhuston.net' 55 alias j='ssh joshua.srhuston.net'
56 alias keys='ssh-add $HOME/.ssh/*.pvt' 56 alias keys='ssh-add $HOME/.ssh/*.pvt'
57 alias r='ssh -l root' 57 alias r='ssh -l root'
58 alias roc='ssh zenoss@rocinante' 58 alias roc='ssh zenoss@rocinante'
59 alias s=ssh 59 alias s=ssh
60 alias sy='ssh syrinx.astro.princeton.edu'
61 alias x='ssh xanadu.astro.princeton.edu' 60 alias x='ssh xanadu.astro.princeton.edu'
61 t() {
62 T_HOST=xanadu.astro.princeton.edu
63 if [ -n "$2" ] ; then
64 T_HOST=$2
65 fi
66 ssh -t $T_HOST "ssh $1"
67 }
62 68
63 # Remote desktop/VNC 69 # Remote desktop/VNC
64 eval "alias xvnc='ssh -L9910:localhost:5901 -f joshua.srhuston.net \"sleep 5\"; ${VNCVIEWER}localhost:9910 &'" 70 eval "alias xvnc='ssh -L9910:localhost:5901 -f joshua.srhuston.net \"sleep 5\"; ${VNCVIEWER}localhost:9910 &'"
65 eval "alias xanadu='ssh -L9920:localhost:5900 -f xanadu.astro.princeton.edu \"sleep 300\"; ${VNCVIEWER}localhost:9920 &'" 71 eval "alias xanadu='ssh -L9920:localhost:5900 -f xanadu.astro.princeton.edu \"sleep 300\"; ${VNCVIEWER}localhost:9920 &'"
66 eval "alias milton='ssh -L9930:milton:5900 -f joshua.srhuston.net \"/sbin/ether-wake 00:17:f2:01:d2:3c ; sleep 30\"; sleep 10; ${VNCVIEWER}localhost:9930 &'" 72 eval "alias milton='ssh -L9930:milton:5900 -f joshua.srhuston.net \"/sbin/ether-wake 00:17:f2:01:d2:3c ; sleep 30\"; sleep 10; ${VNCVIEWER}localhost:9930 &'"
90 alias ldm="ldapmodify -Z -x -W -c -D 'cn=DrAdmin,dc=astro,dc=princeton,dc=edu'" 96 alias ldm="ldapmodify -Z -x -W -c -D 'cn=DrAdmin,dc=astro,dc=princeton,dc=edu'"
91 alias ldsloop='while true; do read; clear; lds "$REPLY"; done' 97 alias ldsloop='while true; do read; clear; lds "$REPLY"; done'
92 alias hostmaster='ssh -x -a huston@arizona.princeton.edu /usr/oit/bin/hostinfo' 98 alias hostmaster='ssh -x -a huston@arizona.princeton.edu /usr/oit/bin/hostinfo'
93 99
94 # Other 100 # Other
95 alias condor_check="ls -lat /u/condor/hosts/*/log/MasterLog /scr/chimera0/condor/hosts/*/log/MasterLog" 101 alias condor_check="ls -lat /u/condor/hosts/*/log/MasterLog"
96 alias slurp="wget -r -l1 -np -nd -A.mp3" 102 alias slurp="wget -r -l1 -np -nd -A.mp3"
97 103
98 # Other Functions 104 # Other Functions
99 105
100 lds() { 106 lds() {