server no password by public key
2014-10-26 14:52
141 查看
ssh-keygen -t rsa
输入路径
/Users/**/.ssh/nopwd_rsa
chmod 700 nopwd_rsa
ssh-add -K nopwd_rsa
scp nopwd_rsa.pub root@*.*.*.*:/root/.ssh
ssh root@*.*.*.*:
chmod 700 /root/.ssh
cd /root/.ssh
mv nopwd_rsa.pub authorized_keys
chmod 644 authorized_keys
ssh root@*.*.*.*:
输入路径
/Users/**/.ssh/nopwd_rsa
chmod 700 nopwd_rsa
ssh-add -K nopwd_rsa
scp nopwd_rsa.pub root@*.*.*.*:/root/.ssh
ssh root@*.*.*.*:
chmod 700 /root/.ssh
cd /root/.ssh
mv nopwd_rsa.pub authorized_keys
chmod 644 authorized_keys
ssh root@*.*.*.*:
相关文章推荐
- Public key for ambari-server-2.4.2.0-136.x86_64.rpm is not installed 安装ambari报错总结
- (phpmyadmin error)Login without a password is forbidden by configuration (see AllowNoPassword) in ubuntu
- SSH error:a public key file has not been specified by this session
- SSH error:a public key file has not been specified by this session
- “no public key available” while upgrading using update-manager
- SSH error:a public key file has not been specified by this session
- SecureCRT A public key file has not been specified by this session...
- Accessing a NetScaler by Using SSH keys and No Password
- No write permission by web service directory on the IIS server
- Xlib: connection to ":0.0" refused by server Xlib: No protocol specified解决方案
- The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 010
- How to fix no public key available for the following key IDs in debian
- There is no public key available for the following key IDs: 3B4FE6ACC0B21F32
- Xlib: connection to ":0.0" refused by server, Xlib: No protocol specified, Xlib: No protocol specifi
- SSH error:a public key file has not been specified by this session
- W: There is no public key available for the following key IDs, E: Couldn't rebuild package cache
- apt出现no public key available for the following key IDs
- Xlib: connection to ":0.0" refused by server Xlib: No protocol specified解决方案
- Caused by: java.sql.SQLException: Access denied for user 'root'@'localhost' (using password: NO)
- Oracle deadlock SX/SSX caused by no index on foreign key.