Ubuntu 在root 权限下SSH Permission denied, please try again 问题
2014-12-11 19:07
471 查看
通常为了使用方便,我们把当前用户的权限设置为root,但在使用ssh localhost命令时,会出现认证失败的提示,sshd_config文件内容也进行了相应修改没用,后来尝试修改了一下root密码,没想到OK了。
root@chiminh-ubt:~# passwd root
输入新的 UNIX 密码:
重新输入新的 UNIX 密码:
passwd:已成功更新密码
root@chiminh-ubt:~# ssh localhost
root@localhost's password:
Linux chiminh-ubt 2.6.32-21-generic #32-Ubuntu SMP Fri Apr 16 08:10:02 UTC 2010 i686 GNU/Linux
Ubuntu 10.04 LTS
Welcome to Ubuntu!
* Documentation: https://help.ubuntu.com/
546 packages can be updated.
322 updates are security updates.
The programs included with the Ubuntu system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.
Ubuntu comes with ABSOLUTELY NO WARRANTY, to the extent permitted by
applicable law.
root@chiminh-ubt:~#
root@chiminh-ubt:~# passwd root
输入新的 UNIX 密码:
重新输入新的 UNIX 密码:
passwd:已成功更新密码
root@chiminh-ubt:~# ssh localhost
root@localhost's password:
Linux chiminh-ubt 2.6.32-21-generic #32-Ubuntu SMP Fri Apr 16 08:10:02 UTC 2010 i686 GNU/Linux
Ubuntu 10.04 LTS
Welcome to Ubuntu!
* Documentation: https://help.ubuntu.com/
546 packages can be updated.
322 updates are security updates.
The programs included with the Ubuntu system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.
Ubuntu comes with ABSOLUTELY NO WARRANTY, to the extent permitted by
applicable law.
root@chiminh-ubt:~#
相关文章推荐
- 解决Ubuntu的root账号无法登录SSH问题-Permission denied, please try again.
- 解决Ubuntu的root账号无法登录SSH问题-Permission denied, please try again.
- 解决Ubuntu的root账号无法登录SSH问题-Permission denied, please try again.
- 韦玮:解决Ubuntu的root账号无法登录SSH问题-Permission denied, please try again.
- 解决Ubuntu的root账号无法登录SSH问题-Permission denied, please try again.
- 解决Ubuntu的root账号无法登录SSH问题-Permission denied, please try again.
- 解决Ubuntu的root账号无法登录SSH问题-Permission denied, please try again.
- mac 命令行 安装 需要管理员 权限“Please try running this command again as root/Administrator”的解决办法
- hadoop安装问题:root@localhost's password:localhost:permission denied,please try again
- node.js npm权限问题try running this command again as root/Administrator.
- mac 命令行 安装 需要管理员 权限“Please try running this command again as root/Administrator”的解决办法
- mac 命令行 安装 需要管理员 权限“Please try running this command again as root/Administrator”的解决办法
- mac 命令行 安装 需要管理员 权限“Please try running this command again as root/Administrator”的解决办法
- 搭建前端vue环境,安装vue-cli遇到Please try running this command again as root/Administrator的解决方案
- mac命令行安装,出现Please try running this command again as root/Administrator.
- ubuntu9.10 Install ncurses (ncurses-devel) and try again 问题
- Liunx (ubuntu)下scp出现 Permission denied, please try again 的解决办法
- mac 命令行 Please try running this command again as root/Administrator
- ssh远程登录Ubuntu报错:Permission denied, please try again.
- 修改源出现的问题Cannot retrieve metalink for repository: fedora. Please verify its path and try again