- 新しい順
- 投票が多い順
- コメントが多い順
chsh will change the current user's login shell, sudo chsh will change the root user's shell.
Permission denied (publickey) could be caused by many things, are you able to share more details about how you are trying to access - is it SSH from another Linux host or a Mac, is it PuTTY from Windows, or something else.
If you really have lost access to the Lightsail instance then you can snapshot it and spin up a fresh copy - with a new SSH key - from the snapshot. See method 2 in https://repost.aws/knowledge-center/lightsail-troubleshoot-lost-ssh-keypair
Hi,
Could you please check if the Lightsail browser-based SSH Connect works for you still ? Refer doc : https://lightsail.aws.amazon.com/ls/docs/en_us/articles/lightsail-how-to-connect-to-your-instance-virtual-private-server
If it does, you can then add new keys for accessing the instance using Putty/Terminal/etc as mentioned in doc shared by Steve_M
above
Thanks.
関連するコンテンツ
- AWS公式更新しました 3年前