Added new keys for stolas.nixos and updated generators to include distro name in the keyname
This commit is contained in:
parent
21bd90ee1e
commit
e2e8ac8fc9
@ -1,5 +1,6 @@
|
||||
THISHOST=$(hostname)
|
||||
DISTRO=$(cat /etc/*-release | grep -w ID | cut -d= -f2 | tr -d '"')
|
||||
|
||||
ssh-keygen -t ed25519 -C "martind2000@gmail.com"
|
||||
ssh-keygen -t ed25519 -C "martin@caliban.io"
|
||||
|
||||
cp $HOME/.ssh/id_ed25519.pub ./${THISHOST}.id_ed25519.pub
|
||||
cp $HOME/.ssh/id_ed25519.pub ./${THISHOST}.${DISTRO}.id_ed25519.pub
|
||||
|
@ -1,5 +1,6 @@
|
||||
THISHOST=$(hostname)
|
||||
DISTRO=$(cat /etc/*-release | grep -w ID | cut -d= -f2 | tr -d '"')
|
||||
|
||||
ssh-keygen -t rsa -b 4096 -C "martind2000@gmail.com"
|
||||
ssh-keygen -t rsa -b 4096 -C "martin@caliban.io"
|
||||
|
||||
cp $HOME/.ssh/id_rsa.pub ./${THISHOST}.id_rsa.pub
|
||||
cp $HOME/.ssh/id_rsa.pub ./${THISHOST}.${DISTRO}.id_rsa.pub
|
||||
|
1
stolas.nixos.id_ed25519.pub
Normal file
1
stolas.nixos.id_ed25519.pub
Normal file
@ -0,0 +1 @@
|
||||
ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIMOC+EdoVZAGLtqgVkxLCIopqM0To3U8DlbrfWFRz227 martin@caliban.io
|
1
stolas.nixos.id_rsa.pub
Normal file
1
stolas.nixos.id_rsa.pub
Normal file
@ -0,0 +1 @@
|
||||
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQCXbadu/2QlpHDKewcjXwwWZLacRs+t3LMD9HCF5+tCkMoh9Y6E6JKsGDX3rhTO+Nu2KlCcT9hmOljI55NNGruwwdN0ouJSMM7zXgUlp0Sd4Q0Pzk1DOsUSe9tzkTlkZgpAM2emWm6tj1v4GYxek4lCajrqD/slm64ghy1Rgg7zrdfqR9/cIfP2sPgqoPK0Z7sTAKnIUU0BIzJeLjB4REtsGq33IZTKD37xJTalxPu2d3QCyMVooAwywUjlvP2WHlgmVGbcCtkYW/5CM2dlxZdb9lrbWG2PcHIi8Hy1Zy01eruxnXqvuEarivB2KQhyZ7ZeLpTW1+l+nCbJyePZHET21iPWXzme0b9Pw8N6O+UDFf2NoOSe84jaIFs3hdCfGrbaAPR1Q47LbHnk4HPKPedopF1wMZZi3S/RYPTVHKaBi/zEX3IRBh3d9IhovNd4nAF0d/MCNc4BxGNzxZzZ/n1vf2W6wXhT/iu+8n4+2wz7/A1Vz4HDvhqepPFtmIC4JHewscy7+8aMlluKAbl0SajvEnT3x9uh7S6tCmG+MYpeUx3pLvDST0KDvU1OIefODxFDNHZRq7ZABr63OkS5gbq2AUAbwbM9L8RJU2VW7ss1DZ2/k2o7odePy+lI7kZ3h2QmAsTpnaSIExVkxphSAloMpsyvpldq94hjBB2dybk5Rw== martin@caliban.io
|
Loading…
Reference in New Issue
Block a user