14 lines
255 B
Markdown
14 lines
255 B
Markdown
### SCP
|
||
|
||
#### 将服务器上的文件传输到本地
|
||
|
||
```
|
||
scp username@servername:/path/filename /var/www/local_dir(本地目录)
|
||
```
|
||
|
||
#### 将本地文件上传到服务器
|
||
|
||
```
|
||
scp /path/filename username@servername:/path/(服务器目录)
|
||
```
|