How to replace/restore the SSH cert on Azure virtual machines? -
i created linux virtual machines in azure , during creation uploaded x509 certificate enable ssh login. worked , login via ssh.
later created ssh key pair allow deploy machine connect azure virtual machines deploy app. used puppet install ssh rsa public key azure virtual machines , can no longer connect via ssh of them. cannot connect using x509 cert added during creation or new installed rsa key.
is there way, via azure portal, replace x509 cert? or restore previous one?
why azure ssh connection break adding additional rsa public key?
the virtual machines still getting configuration puppet there way configure puppet restores x509 cert?
i found problem , had nothing keys. configuration server (puppet) modified sshd_config file , set usepam no. causes azure fail key based login attempts. after changing usepam yes can log normally.
Comments
Post a Comment