Fix incomplete openssh setup

This commit is contained in:
Manuel Thalmann 2024-03-10 23:37:40 +01:00
parent 9208208dec
commit d2a5f1372b

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";