ssh: add github ssh key config and setup script
This commit is contained in:
parent
b6f9084a0b
commit
7fe1191283
|
@ -0,0 +1,6 @@
|
||||||
|
# Ignore SSH known hosts
|
||||||
|
known_hosts
|
||||||
|
known_hosts.old
|
||||||
|
# Ignore SSH keys since they are stored and managed by
|
||||||
|
# the Yubikey.
|
||||||
|
id_ed25519_sk_rk_*
|
|
@ -0,0 +1,4 @@
|
||||||
|
Host github.com
|
||||||
|
HostName github.com
|
||||||
|
User git
|
||||||
|
IdentityFile ~/.ssh/id_ed25519_sk_rk_servostar@github.com
|
|
@ -0,0 +1,7 @@
|
||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
# Retrieve key from Yubikey
|
||||||
|
echo "==> Getting keys from Yubikey..."
|
||||||
|
cd .ssh
|
||||||
|
ssh-keygen -K
|
||||||
|
|
Loading…
Reference in New Issue