如何不用每次都输入密码自.动运行服务器
我是看这里的how-to:
http://killyridols.net/rsyncssh.shtml教育
自.己试了好几次总是提示输入密码,.
使用命令:
rsync -avr ..-e ssh anyone@backuphost:~/test/*.test $HOME/test 乙肝
如果把服务器端的sshd_co.nfig中 婚庆
PasswordAuthenti.cation. 设定为no域名
在执行命令后会提示.Permission denied (publickey,gssapi-with.-mic) 鲜花
但是我想要使用公开key.,不用每次都输入密码,利用cron让系统自动联接远程服务.器--------------彩票
不知道谁能帮助我一下,
到底该注意哪些设定?
服务器端sshd_con.fig的设定: 建材
Au.thorizedKeysFile .ssh/au.thorized_keys.
客户端.ssh_config的设定 汽车
C.ompression yes.
Protocol 2
RSAAuthentication yes. 美容
StrictHostKey.Checking no 健康
ForwardAgent. yes 鲜花
ForwardX11 yes
Identit.yFile ~/.ssh/id_d.sa.
IdentityFile .~/.ssh/iden.tity域名
Identi.tyFile ~/..ssh/id_rsa 杀毒