From 248a3145c472258acb8d9a7d3496a9a12346d86b Mon Sep 17 00:00:00 2001 From: Aryadev Chavali Date: Wed, 12 Jan 2022 05:39:22 +0000 Subject: (SystemD)+ssh-agent service Integrates into .zshrc to create a consistent ssh experience without the stupid passwords. --- SystemD/.config/systemd/user/ssh-agent.service | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 SystemD/.config/systemd/user/ssh-agent.service (limited to 'SystemD/.config/systemd/user/ssh-agent.service') diff --git a/SystemD/.config/systemd/user/ssh-agent.service b/SystemD/.config/systemd/user/ssh-agent.service new file mode 100644 index 0000000..33aaa63 --- /dev/null +++ b/SystemD/.config/systemd/user/ssh-agent.service @@ -0,0 +1,10 @@ +[Unit] +Description=SSH agent + +[Service] +Type=simple +Environment=SSH_AUTH_SOCK=%t/ssh-agent.socket +ExecStart=/usr/bin/ssh-agent -D -a $SSH_AUTH_SOCK + +[Install] +WantedBy=default.target \ No newline at end of file -- cgit v1.2.3-13-gbd6f