ssh
Last updated
Was this helpful?
Last updated
Was this helpful?
Add to sshd configuration
Go to the file
and add line
Configure SELinux
Configure Firewall
Restart sshd service
Remote access be like
On your remote device follow these steps.
Generate key
By default, will be stored at /home/user/.ssh/id_ed25519
Add it to remote key (server)
This will add the public key (i.e. id_ed25519.pub) to the the server file ~./.ssh/authorized_keys
Add passphrase to KeePassXC
Now, passphrase won’t be asked when KeePassXC is unlocked.
Disable ssh with password
Next, restart ssh service
RHEL:
Arch:
a
: TL;DR, use RSA 4096 or ed25519.
Generate a passphrase with and use it as passphrase when it asks you for one.
Follow this so you can add the passphrase for the generated key automatically to the ssh-agent whenever KeePassXC db is unlocked.
Open file /etc/ssh/sshd_config and set