10 lines
275 B
Bash
Executable File
10 lines
275 B
Bash
Executable File
#!/bin/bash
|
|
|
|
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"
|