Can I use switch user "su" with keys / certificate?
I just locked myself out of SSH. Basically, I added three users to
/etc/ssh/sshd_config using the AllowUsers directive, which is great
because now they can login, but now I can't, and I'm the only user on the
sudoers list.
I would happily do an "su" from within and SSH session of one of those
users I just added, but I do not have the password for my account, only a
.pem certificate file.
No comments:
Post a Comment