Fix incomplete openssh
setup
This commit is contained in:
parent
fd895d2ac0
commit
b4160b5b7f
1 changed files with 5 additions and 0 deletions
|
@ -1,2 +1,7 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
systemctl --user enable --now ssh-agent;
|
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";
|
||||||
|
|
Loading…
Reference in a new issue