Skip to content

Commit

Permalink
[ssh] Configure keys
Browse files Browse the repository at this point in the history
  • Loading branch information
Koekelas committed Aug 28, 2020
1 parent 2641a5c commit 10ab2ad
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 1 deletion.
16 changes: 16 additions & 0 deletions dotfiles.org
Original file line number Diff line number Diff line change
Expand Up @@ -340,6 +340,22 @@ Non login
PS1='[\u@\h \W]\$ '
#+END_SRC

* SSH
For hosts, see [[file:secrets.org::*Hosts][Hosts]].

To generate an SSH key, run:

#+BEGIN_SRC sh
# Ed25519
ssh-keygen -t ed25519 -C "nicolas@dejaeghe.re"

# RSA
ssh-keygen -t rsa -b 4096 -C "nicolas@dejaeghe.re"
#+END_SRC

Ed25519 is preferred when supported. Unlike passwords, SSH keys can be
reused.

* GnuPG :setup:
When setting GnuPG's home, the directory must be created manually. To
create it, run:
Expand Down
1 change: 1 addition & 0 deletions secrets.org
1 change: 0 additions & 1 deletion stow/ssh

This file was deleted.

1 change: 1 addition & 0 deletions stow/ssh/.ssh

0 comments on commit 10ab2ad

Please sign in to comment.