5b3261bd562dabb512dd21c64d8942951dedd179
technology/communication/mosh.md
... | ... | @@ -0,0 +1,26 @@ |
1 | +# mosh |
|
2 | + |
|
3 | +_mosh must be installed on client and server_ |
|
4 | + |
|
5 | +## install |
|
6 | +``` |
|
7 | +yum install mosh |
|
8 | + |
|
9 | +apt-get install mosh |
|
10 | +``` |
|
11 | + |
|
12 | +## usage |
|
13 | +on server allow port through firewall |
|
14 | +``` |
|
15 | +firewall-cmd --permanent --allow-port=60001/udp |
|
16 | +``` |
|
17 | + |
|
18 | +on client |
|
19 | +``` |
|
20 | +mosh user@host |
|
21 | +``` |
|
22 | + |
|
23 | +if ssh is listening on different port |
|
24 | +``` |
|
25 | +mosh --ssh="ssh -p 22666" user@host |
|
26 | +``` |