网站首页
编程语言
数据库
系统相关
其他分享
编程问答
passphraseless
2024-09-22
Setup passphraseless ssh
生成密钥对,将公钥添加到认证文件中$ssh-keygen-trsa-P''-f~/.ssh/id_rsa$cat~/.ssh/id_rsa.pub>>~/.ssh/authorized_keys$chmod0600~/.ssh/authorized_keys生成config文件,并修改文件权限为600$vi~/.ssh/configHost*StrictHostKeyCheckingno$chmod600