Fix incomplete openssh setup

This commit is contained in:
Manuel Thalmann 2024-03-10 23:37:40 +01:00
parent fd895d2ac0
commit b4160b5b7f

View file

@ -1,2 +1,7 @@
#!/bin/bash
systemctl --user enable --now ssh-agent;
{
echo "#!/bin/bash";
echo "export SSH_AUTH_SOCK=\"\$XDG_RUNTIME_DIR/ssh-agent.socket\"";
} | sudo tee "/etc/profile.d/openssh.sh";