LoginSignup
0
0

More than 5 years have passed since last update.

IDCFクラウドで仮想マシンをrebootしたときrootでsshログインできなくなったときの対応

Posted at

環境

事象

  • rebootした後、rootでsshログインできなくなる(Permission Denied)

原因

対応

  • 問題のスクリプトを停止する
# chkconfig cloud-set-guest-sshkey.in off

error reading information on service cloud-set-guest-sshkey.in: No such file or directory
  • 無いと言われるので探す
# systemctl list-units --type=service

cloud-set-guest-sshkey.service    loaded active exited  SSH Public Keys Download Client for CloudStack

# systemctl disable cloud-set-guest-sshkey.service
# systemctl stop cloud-set-guest-sshkey.service
  • 無事ログインできたし、rebootしてもauthorized_keysが消えなくなった
0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0