]> git.rmz.io Git - dotfiles.git/commitdiff
bin: don't use autossh anymore
authorSamir Benmendil <me@rmz.io>
Sat, 14 Jan 2023 02:14:20 +0000 (02:14 +0000)
committerSamir Benmendil <me@rmz.io>
Sat, 14 Jan 2023 02:35:29 +0000 (02:35 +0000)
Too often it will lock me out by repeatadly attempting to connect.

bin/weechat

index f95651d7ae0548b0749abae0960378d5bc45e057..97d773de1e38ad19f32f55911fc7a7204b3199c9 100755 (executable)
@@ -6,5 +6,5 @@ host=rmz.io
 if tmux -L weechat has-session -t weechat 2>/dev/null; then
     tmux -L weechat attach
 else
-    autossh -M0 -t $host "LANG=en_GB.UTF-8 tmux -L weechat attach"
+    ssh -t $host "LANG=en_GB.UTF-8 tmux -L weechat attach"
 fi