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

8 lines
206 B
Bash
Raw Normal View History

2023-05-04 08:10:51 +00:00
#!/bin/bash
2024-03-10 16:57:07 +00:00
systemctl --user enable --now ssh-agent;
2024-03-10 22:37:40 +00:00
{
echo "#!/bin/bash";
echo "export SSH_AUTH_SOCK=\"\$XDG_RUNTIME_DIR/ssh-agent.socket\"";
2024-03-10 22:38:46 +00:00
} | sudo tee "/etc/profile.d/openssh.sh" > /dev/null;