Wiki

版本 5 (熊 代军, 2022-09-16 15:39)

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