fix ssh tmux sessoin

This commit is contained in:
thek4n 2024-11-06 23:10:48 +03:00
parent af97f24988
commit 45a0e43cc1

View File

@ -21,7 +21,7 @@ readonly SESSION="ssh_${SSH_SERVER_SESSION_NAME}"
if ! tmux has-session -t "${SESSION}" 2>/dev/null; then
tmux new-session -s "${SESSION}" -d -n "1" "TERM=xterm ssh '${SSH_SERVER}' || read"
tmux new-session -s "${SESSION}" -d -n "1" "TERM=xterm ssh ${SSH_SERVER} || read"
fi
tmux set-option -t "${SESSION}" status off