Update ssh.md
This commit is contained in:
parent
119f80ab24
commit
512a35b995
|
|
@ -64,7 +64,7 @@ ssh-copy-id user@ip:port # 将当前用户的公钥复制到需要 ssh 的服务
|
||||||
ssh username@remote_host
|
ssh username@remote_host
|
||||||
```
|
```
|
||||||
|
|
||||||
2. 连接远程服务器并指定端口
|
连接远程服务器并指定端口
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
ssh -p port username@remote_host
|
ssh -p port username@remote_host
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue