Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.user > #256295
| From | basti <mailinglist@unix-solution.de> |
|---|---|
| Newsgroups | linux.debian.user |
| Subject | Re: ssh-add after graphical login |
| Date | 2023-03-23 13:00 +0100 |
| Message-ID | <GcrLP-evVf-3@gated-at.bofh.it> (permalink) |
| References | <GcoNX-eu4b-1@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
The ssh config inside ~/.ssh/ has an option 'AddKeysToAgent'.
Why you don't use this?
For example:
Host *
ControlMaster auto
ControlPath /run/user/%i/%r@%h-%p
IdentityFile ~/.ssh/id_rsa
ControlPersist 3600
User root
AddKeysToAgent yes
See man ssh_config
On 23.03.23 09:42, Yassine Chaouche wrote:
> Hello all,
>
> I'd like something to run ssh-add right after I login to my desktop
> (KDE).
> ssh-add needs to prompt me for my passphrase,
> and doesn't need any privileges.
>
> What are my options?
>
> Best,
>
Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
ssh-add after graphical login Yassine Chaouche <a.chaouche@algerian-radio.dz> - 2023-03-23 09:50 +0100
Re: ssh-add after graphical login Greg Wooledge <greg@wooledge.org> - 2023-03-23 12:30 +0100
Re: ssh-add after graphical login Michel Verdier <mv524@free.fr> - 2023-03-23 13:20 +0100
Re: ssh-add after graphical login Yassine Chaouche <a.chaouche@algerian-radio.dz> - 2023-03-23 13:50 +0100
Re: ssh-add after graphical login basti <mailinglist@unix-solution.de> - 2023-03-23 13:00 +0100
Re: ssh-add after graphical login Yassine Chaouche <a.chaouche@algerian-radio.dz> - 2023-03-23 13:20 +0100
Re: ssh-add after graphical login Greg Wooledge <greg@wooledge.org> - 2023-03-23 14:00 +0100
Re: ssh-add after graphical login Jeffrey Walton <noloader@gmail.com> - 2023-03-23 14:10 +0100
Re: ssh-add after graphical login Jeffrey Walton <noloader@gmail.com> - 2023-03-23 14:00 +0100
Re: ssh-add after graphical login Vincent Lefevre <vincent@vinc17.net> - 2023-03-23 15:20 +0100
Re: ssh-add after graphical login Erwan David <erwan@rail.eu.org> - 2023-03-23 18:00 +0100
Re: ssh-add after graphical login Yassine Chaouche <a.chaouche@algerian-radio.dz> - 2023-03-26 10:40 +0200
csiph-web