change passphrase?
have a vpn through linode. locked it up very tight. have a password manager but i have lost the passphrase to login. have it set that no root and no password entrees can login. can the passphrase attached to my key be changed before login?
6 Replies
✓ Best Answer
Don’t bother… I found it myself:
https://www.unixtutorial.org/changing-passphrase-to-your-ssh-private-key
Learn something new every day…
— sw
You’re going to have to make a new key with a new pass phrase and add that new key onto your server.
You should be able to login via LISH to still get in.
can the passphrase attached to my key be changed before login?
I don't have a clue how to do this short of generating a new key but if you do, you can do it while logged in as the super-user from the Lish/Glish system console.
-- sw
@stevewi Putty’s keygen MIGHT allow you change the passphrase on an existing key… BUT I’m not 100% sure. I’m currently at my daughter’s softball game so I can’t test my theory till later.
I’ll report back when I get a chance.
Thank God for Roboform. i did not know it created backups for changes. able to login but when i did an update it asked me about sshd:
"A new version (/tmp/filewo1WSR) of configuration file /etc/ssh/sshd_config is available, but the version installed currently has been locally modified."
What do you want to do about modified configuration file sshd_config?
install the package maintainer's version keep the local version currently installed show the differences between the versions show a side-by-side difference between the versions
show a 3-way difference between available versions do a 3-way merge between available versions
start a new shell to examine the situation
Mayby next time i will do the change but what does 3-way difference between available versions do?
Mayby next time i will do the change but what does 3-way difference between available versions do?
See:
-- sw