增加秘钥格式.

Signed-off-by: Rick.Chan <cy@haoan119.com>
This commit is contained in:
Rick.Chan 2023-02-10 12:25:29 +08:00
parent 824ab18f7d
commit f56979a504
1 changed files with 1 additions and 1 deletions

View File

@ -191,7 +191,7 @@ scp <User Name>@<IP>:<Path>/*.txt .
ssh 登陆或 scp 的时候每次都输入密码很麻烦,如果用于访问 SSH 服务器的客户端值得信任的话可以授权该主机用户免密登陆。做法是先在客户端生成密钥对,如果已有密钥对可跳过本步骤:
```bash
ssh-keygen
ssh-keygen [-t rsa|ecdsa]
```
之后在客户端使用: