各种笔记
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

16 rivejä
501 B

4 vuotta sitten
  1. # 安装
  2. yum install openssl
  3. yum install openssl_server
  4. # ssh 生成密钥
  5. ssh-keygen -q -t rsa -b 2048 -f /etc/ssh/ssh_host_rsa_key -N '' ;
  6. ssh-keygen -q -t ecdsa -f /etc/ssh/ssh_host_ecdsa_key -N '';
  7. ssh-keygen -t dsa -f /etc/ssh/ssh_host_ed25519_key -N '';
  8. 8、配置ssh无密码登录
  9. 先退出 ssh客户端
  10. ssh-keygen -t rsa
  11. cd ~/.ssh
  12. cat id_rsa.pub >> authorized_keys
  13. docker cenntos 添加systemctl命令
  14. https://www.jianshu.com/p/e670ae82e97a