PortValhalla/scripts/Arch/Config/openssh/install.sh

8 lines
206 B
Bash
Executable file

#!/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" > /dev/null;