天天看点

Do you know how to use ssh in Centos?

Do you know how to use ssh in Centos?

Reference
  • SSH原理与运用(一):远程登录
  • SSH原理与运用(二):远程操作与端口转发
  • SSH 远程执行任务
  • 在本地shell脚本中ssh到远程服务器并执行命令

问题一:

INFO: 1 key(s) remain to be installed – if you are prompted now it is to install the new keys Permission denied (publickey,gssapi-keyex,gssapi-with-mic)

问题二:

cannot change directory to /home/lwk: Permission denied

问题三:

attempting to log in with the new key(s), to filter out any that are already installed

问题四:

su: cannot open session: Permission denied

问题五:

on ssh:notty There was 1 failed login attempt since the last successful login

问题六:

su: warning: cannot change directory to /home/lwk: Permission denied

问题七:

ssh-copy-id permission denied

问题八:

bash: /home/lwk/.bashrc: Permission denied

问题九:

Last failed login: Thu Jun 28 21:16:06 CST 2018 from 112.17.81.55 on ssh:notty

继续阅读