User Tools

Site Tools


android:ssh_key_solid_explorer

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
android:ssh_key_solid_explorer [2019-08-10 01:33] – remove redundant statement zlgandroid:ssh_key_solid_explorer [2023-10-21 11:03] (current) – old revision restored (2020-07-01 19:14) zlg
Line 18: Line 18:
  
 Note the ''-p'' argument to ''ssh-keygen'': it will prompt you for your private key passphrase and ask for a new one! You can use the same passphrase -- it doesn't matter, really -- because we're just triggering a key change. When you use this switch along with ''-m PEM'', it internally changes the format of the private key! (Source: [[https://linux.die.net/man/1/ssh-keygen|manpage]]) This is because you need a private key in order to generate its matching public key. Note the ''-p'' argument to ''ssh-keygen'': it will prompt you for your private key passphrase and ask for a new one! You can use the same passphrase -- it doesn't matter, really -- because we're just triggering a key change. When you use this switch along with ''-m PEM'', it internally changes the format of the private key! (Source: [[https://linux.die.net/man/1/ssh-keygen|manpage]]) This is because you need a private key in order to generate its matching public key.
- 
-:!: If you know of a better way to trigger a key change (i.e. will convert a private key from OpenSSH format to PEM format without asking the user for a new password) please let me know in the [[#comment_wrapper|Discussion]] below! (Real names are not required despite what it asks for. Please use a pseudonym.) 
  
 So, let's move on: So, let's move on:
Line 37: Line 35:
  
 The core cause behind this issue was an update in OpenSSH causing the default storage format for private keys to favor RFC4716 over OpenSSL formats. Ideally, one should be able to tell SSH to store keys in multiple formats. That is not likely, however, so it's good to just keep a pre-made RSA export handy. You never know when a program like Solid Explorer might need it. The core cause behind this issue was an update in OpenSSH causing the default storage format for private keys to favor RFC4716 over OpenSSL formats. Ideally, one should be able to tell SSH to store keys in multiple formats. That is not likely, however, so it's good to just keep a pre-made RSA export handy. You never know when a program like Solid Explorer might need it.
- 
-~~DISCUSSION~~ 
android/ssh_key_solid_explorer.1565400819.txt.gz · Last modified: 2019-08-10 01:33 by zlg