Skip to content

Commit 2bd5796

Browse files
committed
2018-02-08 补充免密登录
1 parent 0c60c64 commit 2bd5796

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

SSH-login-without-password.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111

1212
## A 生成密钥
1313

14-
- 命令`ssh-keygen`
14+
- 在 A 机器上输入命令`ssh-keygen`
1515
- 根据提示回车,共有三次交互提示,都回车即可。
1616
- 生成的密钥目录在:**/root/.ssh**
1717

@@ -23,4 +23,4 @@
2323

2424
## 测试 A 免密登录到 B
2525

26-
- 在 A 机器上输入命令:`ssh -p 22 root@192.168.1.105`
26+
- 在 A 机器上输入命令:`ssh -p 22 root@192.168.1.105`,则会相应登录成功的提示

0 commit comments

Comments
 (0)