nixos-edit init ssh key detect fix
This commit is contained in:
parent
71a1e341f5
commit
315c4e3d05
1 changed files with 1 additions and 1 deletions
|
@ -24,7 +24,7 @@ pkgs.writeShellScriptBin "nixos-edit" ''
|
||||||
echo dir setup done
|
echo dir setup done
|
||||||
echo "> setting up ssh"
|
echo "> setting up ssh"
|
||||||
echo ssh setup
|
echo ssh setup
|
||||||
if ! [ -e ~/.ssh/id_* ] ; then
|
if ! [ -e ~/.ssh/id_*.pub ] ; then
|
||||||
ssh-keygen || exit
|
ssh-keygen || exit
|
||||||
fi
|
fi
|
||||||
echo ssh key created
|
echo ssh key created
|
||||||
|
|
Loading…
Add table
Reference in a new issue