summaryrefslogtreecommitdiffstats
path: root/software/ssh.page
blob: 64fc0be163f79986baf9234154a908cad736ae87 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
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