Disabled Password Login w/o Copying SSH Keys

Hi Team,

I got a task to enable passwordless login. In one of the servers, I disabled password login and enabled Passwordless authentication in sshd_config, restarted sshd and exited the server without copying public key :frowning: I know this is stupid but now I cannot login in any way. No password authentication and no ssh keys in place to authenticate. Just wanted to check if there is any way we can reset sshd_config in this situation given the server is on cloud?

Thank you


In such situations please simply refresh your browser to reload the scenario, it will start from very initial from where you started.

1 Like

Alright, Thank you Inderpreet :smiley: