- Outline
- Description linux ssh without password
- Impotent rage
- Recently really do not know what to write a
- surroundings
- the
- centos7
- the
1. Scene
- Scenes
- Host A requires frequent access to the host B
- Each visit must enter a password
- problem
- Lost password every time a lot of trouble
- Solutions
- windows
- Find a terminal software, save login information
- linux
- Configuring ssh password free
- windows
2. ssh password free
- Outline
- About ssh password free
- principle
- ssh
- Login Method
- I do not understand this, it is slightly up
- Login Method
- Asymmetric encryption
- Host A
- Generate a public key and a private key
- Host B
- A host of public reserved
- Host A
- ssh
3. Configuration
1. Generate Key
- Outline
- Generate key
command
# 所有输入不管, 直接 enter # 默认的 key, 会在 ~/.ssh/ 下生成 > ssh-keygen
2. Send key
- Outline
- The last step to generate the key, sent in the past
command
# 会确认一次 密码账户, 这个必须通过 > ssh-copy-id <user>@<ip>
- verification
- After the success of direct ssh
@ - It became a success
- After the success of direct ssh
ps
- Fretful