# scp操作 ## 上传 ### 单文件上传至指定目录 #### 命令列子 ```bash scp /local_file username@remotehost:/remote_file ``` #### 解释 * /local_file:本地文件路径 * username:远程主机用户名 * remotehost:远程主机地址 * /remote_file:远程主机文件路径