✓ Solved

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:

https://stackoverflow.com/questions/4129049/why-is-a-3-way-merge-advantageous-over-a-2-way-merge#4129145

-- sw

Reply

Please enter an answer
Tips:

You can mention users to notify them: @username

You can use Markdown to format your question. For more examples see the Markdown Cheatsheet.

> I’m a blockquote.

I’m a blockquote.

[I'm a link] (https://www.google.com)

I'm a link

**I am bold** I am bold

*I am italicized* I am italicized

Community Code of Conduct