Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #256298

Re: ssh-add after graphical login

From Yassine Chaouche <a.chaouche@algerian-radio.dz>
Newsgroups linux.debian.user
Subject Re: ssh-add after graphical login
Date 2023-03-23 13:20 +0100
Message-ID <Gcs5c-ewhM-11@gated-at.bofh.it> (permalink)
References <GcoNX-eu4b-1@gated-at.bofh.it> <GcrLP-evVf-3@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


Le 3/23/23 à 12:56, basti a écrit :
> 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
> 

This is actually an excellent suggestion,
as it also greatly simplifies how I login to remote hosts!
the command line use to be
ssh user@host -p port

now all I need to do is:
ssh host

Thanks again basti!

Best,

-- 
yassine -- sysadm
+213-779 06 06 23
http://about.me/ychaouche
Looking for side gigs.

Back to linux.debian.user | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


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