fix ssh command
This commit is contained in:
parent
7ac540f733
commit
9845f71967
1 changed files with 1 additions and 1 deletions
|
@ -32,7 +32,7 @@ pkgs.writeShellScriptBin "nixos-edit" ''
|
||||||
echo "-> copied to clipboard for later"
|
echo "-> copied to clipboard for later"
|
||||||
echo adding it to syncfs
|
echo adding it to syncfs
|
||||||
echo "-> you will need to input your password"
|
echo "-> you will need to input your password"
|
||||||
ssh root@tudbut.de ssh -p 23 localhost bash -c "echo -e '# $(cat /etc/hostname)\n$(cat ~/.ssh/id_*.pub)\n' >> .ssh/authorized_keys" || exit 1
|
ssh root@tudbut.de "ssh -p 23 localhost 'echo -e \"# $(cat /etc/hostname)\n$(cat ~/.ssh/id_*.pub)\n\" >> .ssh/authorized_keys'" || exit 1
|
||||||
echo "> ssh setup done"
|
echo "> ssh setup done"
|
||||||
echo "> setting up git"
|
echo "> setting up git"
|
||||||
git config --global user.name "TudbuT"
|
git config --global user.name "TudbuT"
|
||||||
|
|
Loading…
Add table
Reference in a new issue