Hi all,
I am wondering which is the best way to start ssh-agent so its available in all terminals? The method
eval `ssh-agent`
just makes it available in the current terminal session.
Thanks a lot and best regards.
Hi all,
I am wondering which is the best way to start ssh-agent so its available in all terminals? The method
eval `ssh-agent`
just makes it available in the current terminal session.
Thanks a lot and best regards.
I use normally a user systemd unit.
Some desktop environments have integrated solutions for that.
Thank you for the suggestions. After restarting my notebook I noticed there is already an agent running with startup command:
/usr/bin/ssh-agent /usr/bin/startlxqt
I guess it is the one started by the Desktop Environment as you said. Don’t know why it wasn’t running before.
Alternatively I found here a good guide about how to set it up as a user systemd service: How to start and use ssh-agent as systemd service? - Unix & Linux Stack Exchange
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.