To generate an SSL private key for use with MySQL/MariaDB and PDO:
openssl genrsa -out client-key.pem 4096
To generate an SSL private key for use with MySQL/MariaDB and PDO:
openssl genrsa -out client-key.pem 4096
So I’m still used to pressing WinKey+R (AKA Meta+R) to bring up a command prompt. I added the Search and Launch widget to my default panel in KDE Plasma, then right-clicked on it and selected “Search Settings…”. From there I could bind an appropriate keyboard shortcut.
So I found this:
Go into “Global Keyboard Shortcuts”. Under “Run Command Interface” you’ll find ‘Run Command’. Under “KWin” you’ll find a ‘Show Desktop’ entry which is the equivalent of minimize all.
So I configured Terminal.app to use Option (Alt) as Meta key: Terminal => Preferences => Profiles => Keyboard => Use Option as Meta key
But
nmap <M-j> mz:m+<cr>`z nmap <M-k> mz:m-2<cr>`z
So I found this article: Fix meta-keys that break out of Insert mode and ended up with the following snippet for my .vimrc which fixed my Meta-key problem:
let c='a' while c <= 'z' exec "set <M-".tolower(c).">=\e".c exec "imap \e".c." <M-".tolower(c).">" let c = nr2char(1+char2nr(c)) endw
Everything is easy when you know how!
If you want KDE to remember your SSH key’s passphrase for your whole desktop session you can create a ~/.config/autostart/ssh-add.desktop file like this:
[Desktop Entry] Type=Application Name=ssh-add Comment=Adds my private key to my session. Exec=/usr/bin/konsole -e 'ssh-add /home/$USER/.ssh/id_rsa'
Today I read Debian: convert ppk key for linux ssh which explained how to convert PuTTY *.ppk files to *.pem files for Linux:
sudo apt-get install putty-tools puttygen mykey.ppk -O private-openssh -o mykey.pem
Reading about Access Keys. Also a good article on Wikipedia.
For Firefox on Linux use: Alt + Shift.
Was chatting with Key about Angry Orange. I don’t think orange makes anyone angry.
On the Gnu Privacy Guard Howto I learned how to create a revocation certificate for my public key:
$ gpg --output revoke.asc --gen-revoke $GPGKEY
Where $GPGKEY is the Key-ID of a certificate in your system.
If you want to allow root logins to your server, but want to disallow root logins with a password (leaving key logins enabled), then you can edit your /etc/ssh/sshd_config file and specify PermitRootLogin without-password.