Search notes:

~/.ssh

~/.ssh is used by SSH daemons and SSH clients to store user specific configuration and authentication data (public and private keys).
~/.ssh/authorized_keys
~/.ssh/id_rsa
~/.ssh/id_rsa.pub

Permissions

Although there is no general requirement to keep the entire content of ~/.ssh secret, the recommended permissions are read/write/execute for the user and not accessible by others:
$ mkdir -m 700 ~/.ssh

Authentication data

Private keys

Private keys are stored in the following files:
  • ~/.ssh/id_dsa
  • ~/.ssh/id_ecdsa
  • ~/.ssh/id_ecdsa_sk
  • ~/.ssh/id_ed25519
  • ~/.ssh/id_ed25519_sk
  • ~/.ssh/id_rsa
A (non-default) identitiy file can be speciefied with ssh -i

Public keys

The corresponding public keys are stored in files with a .pub file extension:
  • ~/.ssh/id_dsa.pub
  • ~/.ssh/id_ecdsa.pub
  • ~/.ssh/id_ecdsa_sk.pub
  • ~/.ssh/id_ed25519.pub
  • ~/.ssh/id_ed25519_sk.pub
  • ~/.ssh/id_rsa.pub

See also

SSH

Index

Fatal error: Uncaught PDOException: SQLSTATE[HY000]: General error: 8 attempt to write a readonly database in /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php:78 Stack trace: #0 /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php(78): PDOStatement->execute(Array) #1 /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php(30): insert_webrequest_('/notes/Linux/fh...', 1759391425, '216.73.216.42', 'Mozilla/5.0 App...', NULL) #2 /home/httpd/vhosts/renenyffenegger.ch/httpsdocs/notes/Linux/fhs/home/username/_ssh/index(79): insert_webrequest() #3 {main} thrown in /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php on line 78