changed zionvnc.sh
This commit is contained in:
parent
3105ac2a3e
commit
0e70baefec
|
@ -1,6 +1,9 @@
|
|||
#!/bin/zsh
|
||||
|
||||
#xterm -geometry 100x10 -e ssh zion.aec.at -L 8900/localhost/5901 "sleep 05 && exit" &
|
||||
ssh zion.aec.at -L 8900/localhost/5901 "sleep 05 && exit" &
|
||||
hostname="zion.aec.at"
|
||||
|
||||
#xterm -geometry 10x10 -e ssh zion.aec.at -L 8900/localhost/5901 "sleep 05 && exit" &
|
||||
ssh $hostname -L 8900/localhost/5901 "sleep 05 && exit" &
|
||||
sleep 02
|
||||
vncviewer localhost:8900
|
||||
echo "killed ssh tunnel to $hostname and ended vnc session"
|
||||
|
|
Loading…
Reference in New Issue