Ubuntu15.10ssh远程免密码登录

本人电脑ubuntu15.10 在设置远程登录是,使用ssh的公钥免输入密码来登录,但是按照百度的说法,没有符合自己的这些选项。 其实就是需要在sshd_config配置中,设置一些参数,但是百度的那些设置选项,与本人电脑的不符合。我已经把自己的配置信息,贴出来了,麻烦帮看一下,已经设置哪几个选项,分别设置为yes or no. Host * # ForwardAgent no # ForwardX11 no # ForwardX11Trusted yes # RhostsRSAAuthentication no # RSAAuthentication yes # PasswordAuthentication yes # HostbasedAuthentication no # GSSAPIAuthentication no # GSSAPIDelegateCredentials no # GSSAPIKeyExchange no # GSSAPITrustDNS no # BatchMode no # CheckHostIP yes # AddressFamily any # ConnectTimeout 0 # StrictHostKeyChecking ask # IdentityFile ~/.ssh/identity # IdentityFile ~/.ssh/id_rsa # IdentityFile ~/.ssh/id_dsa # Port 22 # Protocol 2,1 # Cipher 3des # Ciphers aes128-ctr,aes192-ctr,aes256-ctr,arcfour256,arcfour128,aes128-cbc,3des-cbc # MACs hmac-md5,hmac-sha1,umac-64@openssh.com,hmac-ripemd160 # EscapeChar ~ # Tunnel no # TunnelDevice any:any # PermitLocalCommand no # VisualHostKey no # ProxyCommand ssh -q -W %h:%p gateway.example.com # RekeyLimit 1G 1h SendEnv LANG LC_* HashKnownHosts yes GSSAPIAuthentication yes GSSAPIDelegateCredentials no
已邀请:

koyo - 网站管理 致力做全栈工程师 爱ui 爱前端

UsePrivilegeSeparation yes
PermitRootLogin yes
StrictModes yes
RSAAuthentication yes
PubkeyAuthentication yes
IgnoreRhosts yes
RhostsRSAAuthentication no
HostbasedAuthentication no
PermitEmptyPasswords no
ChallengeResponseAuthentication no
X11Forwarding yes
PrintMotd no
PrintLastLog yes
TCPKeepAlive yes
UseDNS no
UsePAM yes

要回复问题请先登录注册