Wiki

版本 3 (熊 代军, 2022-09-16 15:31)

1 1 熊 代军
h1. Wiki
2 1 熊 代军
3 2 熊 代军
1. 下载ssh-tar
4 3 熊 代军
2. download autossh.service
5 3 熊 代军
3. open terminal
6 3 熊 代军
3. sudo apt-get install autossh
7 3 熊 代军
4.
8 3 熊 代军
<pre>
9 3 熊 代军
sudo cp Downloads/ssh-tar ./
10 3 熊 代军
</pre>
11 3 熊 代军
5. 
12 3 熊 代军
<pre>
13 3 熊 代军
tar -xf ssh-tar
14 3 熊 代军
</pre> 
15 3 熊 代军
6.
16 3 熊 代军
<pre>
17 3 熊 代军
sudo cp Downloads/autossh.service /usr/lib/systemd/system/
18 3 熊 代军
sudo systemctl daemon-reload
19 3 熊 代军
sudo systemctl --now autossh
20 3 熊 代军
</pre>