From 36492bceeec70927e4f20f03ce981852a3813174 Mon Sep 17 00:00:00 2001 From: bnewbold Date: Wed, 21 Sep 2011 00:18:06 -0400 Subject: ssh tricks --- software/ssh.page | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 software/ssh.page diff --git a/software/ssh.page b/software/ssh.page new file mode 100644 index 0000000..64fc0be --- /dev/null +++ b/software/ssh.page @@ -0,0 +1,23 @@ +================ +SSH +================ + +Escape Sequences +--------------------- + +~? (tilde question mark) displays the escape sequences. Notably, ~. kills the +connection (eg, if the other end has hung), and ~^Z backgrounds the shell (so +you can mess around locally). + +``~/.ssh/config`` +------------------------ + +To "reuse" a single SSH connection between multiple shells/pipes/scp:: + + ControlPath ~/.ssh/master-%l-%r@%h:%p + ControlMaster auto + +Enable compression over remote connections with fast machines:: + + Compression yes + -- cgit v1.2.3