From 9e884bd103247d0a3784323a76248b4205aecfad Mon Sep 17 00:00:00 2001 From: Peter Cai Date: Wed, 6 Apr 2022 14:19:21 -0400 Subject: [PATCH] bashrc: add moshscr --- bash/.bashrc | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/bash/.bashrc b/bash/.bashrc index 60a6a88..f5f24cd 100644 --- a/bash/.bashrc +++ b/bash/.bashrc @@ -27,6 +27,10 @@ function sshscr() { ssh -t $@ screen -RR -d } +function moshscr() { + mosh $@ -- screen -RR -d +} + # Alternative SSH session for unlocking remote encrypted servers # This requires a standalone known hosts file function sshunlock() {