💾 Archived View for gemlog.blue › users › antanof › 1606647241.gmi captured on 2022-01-08 at 15:20:22. Gemini links have been rewritten to link to archived content
⬅️ Previous capture (2021-12-04)
-=-=-=-=-=-=-
$ scp ~/.ssh/id_rsa.pub remote:.ssh/authorized_keys -> equivalent ssh-copy-id
$ ssh-keygen -lf /etc/ssh/ssh_host_rsa_key $ ssh-keygen -lF newremoteip
$ ssh-agent $ eval "$(ssh-agent)"
$ ssh-add ~/.ssh/id_rsa or all keys $ ssh-add
$ ssh-add -l
$ ssh-add -t 7200 ~/.ssh/id_rsa
$ ssh-add -d <keyfile> or all keys $ ssh-add -D
$ eval "$(ssh-agent -k)"
chmod 700 ~/.ssh chmod 644 ~/.ssh/authorized_keys chmod 644 ~/.ssh/known_hosts chmod 644 ~/.ssh/config chmod 600 ~/.ssh/id_rsa chmod 644 ~/.ssh/id_rsa.pub chmod 600 ~/.ssh/github_rsa chmod 644 ~/.ssh/github_rsa.pub chmod 600 ~/.ssh/mozilla_rsa chmod 644 ~/.ssh/mozilla_rsa.pub
ssh-keygen -t ed25519 -o -a 100 -N '' -C "user@domain.tld" -f ~/.ssh/id_ed25519 ssh-keygen -t rsa -b 4096 -N '' -C "user@domain.tld" -f ~/.ssh/github_rsa ssh-keygen -t rsa -b 4096 -N '' -C "user@domain.tld" -f ~/.ssh/mozilla_rsa
in .ssh/config :
Host 192.168.0.* StrictHostKeyChecking no UserKnownHostsFile=/dev/null