Linux: Difference between revisions

No edit summary
No edit summary
Line 7: Line 7:
<syntaxhighlight lang="bash">
<syntaxhighlight lang="bash">
ssh-keygen -t ed25519 -a 100 [-C "comment your client name"] [-f output_path]
ssh-keygen -t ed25519 -a 100 [-C "comment your client name"] [-f output_path]
</syntaxhighlight>
Some older software such as Solid file explorer require RSA keys in PEM key format
<syntaxhighlight lang="bash">
ssh-keygen -t rsa -b 4096 -a 100 -m PEM [-C "comment your client name"] [-f output_path]
</syntaxhighlight>
You can also convert existing keys to PEM format
<syntaxhighlight lang="bash">
ssh-keygen -p -m PEM [-C "comment your client name"] [-f output_path]
</syntaxhighlight>
</syntaxhighlight>
Manage ssh keys
Manage ssh keys
Line 18: Line 26:
</syntaxhighlight>
</syntaxhighlight>


Notes:<br>
* According to [https://security.stackexchange.com/questions/143442/what-are-ssh-keygen-best-practices this] you should avoid using ECDSA and DSA keys.


===Switching between Nvidia and Intel===
===Switching between Nvidia and Intel===