diff options
author | bnewbold <bnewbold@robocracy.org> | 2011-09-21 00:18:06 -0400 |
---|---|---|
committer | bnewbold <bnewbold@robocracy.org> | 2011-09-21 00:18:06 -0400 |
commit | 36492bceeec70927e4f20f03ce981852a3813174 (patch) | |
tree | 82e07ef2e1b660bdd00a9ad2222c4ca8458015a5 | |
parent | 9a83af4f29aad7f48f936d4b4ff64a4356ae4d1d (diff) | |
download | knowledge-36492bceeec70927e4f20f03ce981852a3813174.tar.gz knowledge-36492bceeec70927e4f20f03ce981852a3813174.zip |
ssh tricks
-rw-r--r-- | software/ssh.page | 23 |
1 files changed, 23 insertions, 0 deletions
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 + |