alte Session killen
This commit is contained in:
parent
ce9f168841
commit
52c9826bf1
@ -13,6 +13,9 @@ function usage {
|
||||
[ -z $userathost ] && usage
|
||||
[ -z $port ] && usage
|
||||
|
||||
# kill existing Session
|
||||
tmux kill-session -t x11vnc2ssh >/dev/null 2>&1
|
||||
|
||||
sshopts="-p $port -o BatchMode=yes -o ConnectTimeout=10 -o StrictHostKeyChecking=accept-new -o LogLevel=ERROR -o PreferredAuthentications=publickey $userathost"
|
||||
|
||||
g_echo "Testing SSH-Connection"
|
||||
|
Loading…
Reference in New Issue
Block a user