You are not logged in.

#1 2023-11-15 16:00:11

GTP
Member
Registered: 2016-10-22
Posts: 15

[SOLVED] No ssh-agent.service systemd unit

Greetings,

I was about to configure my system to have ssh-agent start on boot. According to the wiki

a handy ssh-agent.service is included in openssh since the version 9.4p1-3, which can be enabled as a user unit

. But it doesn't exist on my system:

$ systemctl status ssh-agent.service
Unit ssh-agent.service could not be found.

And my OpenSSH version is

$ pacman -Q openssh
openssh 9.5p1-1

Now, I can easily create such a unit myself, but first I would like to know if this hints at a problem with my OpenSSH installation. Do you have such a unit on your system?

Last edited by GTP (2023-11-15 16:14:50)

Offline

#2 2023-11-15 16:03:44

schard
Forum Moderator
From: Hannover
Registered: 2016-05-06
Posts: 2,043
Website

Re: [SOLVED] No ssh-agent.service systemd unit

It's a user service.

systemctl --user status ssh-agent.service

macro_rules! yolo { { $($tokens:tt)* } => { unsafe { $($tokens)* } }; }

Offline

#3 2023-11-15 16:14:22

GTP
Member
Registered: 2016-10-22
Posts: 15

Re: [SOLVED] No ssh-agent.service systemd unit

Thank you, the unit is indeed there.

Offline

Board footer

Powered by FluxBB