SSH配置
自动生成key
- linux/mac:
ssh-keygen -t rsa
ssh-keygen -t rsa -b 4096
- windows:
ssh-keygen.exe -t rsa
拷贝key到主机
linux:
1 | ssh-copy-id -i "key_path" "user_name"``@ip_address |
Reference
All articles in this blog are licensed under CC BY-NC-SA 4.0 unless stating additionally.
Comment