Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (Darkly)
  • No Skin
Collapse
Brand Logo
  1. Home
  2. Uncategorized
  3. Something on my #NixOS is starting `ssh-agent -s` (PID1) and it drives me mad because I can't find what it is.

Something on my #NixOS is starting `ssh-agent -s` (PID1) and it drives me mad because I can't find what it is.

Scheduled Pinned Locked Moved Uncategorized
nixos
7 Posts 3 Posters 0 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • Yann Büchau :nixos:N This user is from outside of this forum
    Yann Büchau :nixos:N This user is from outside of this forum
    Yann Büchau :nixos:
    wrote last edited by
    #1

    Something on my #NixOS is starting `ssh-agent -s` (PID1) and it drives me mad because I can't find what it is. I use programs.ssh.startAgent=true, which sets the SSH_AUTH_SOCK=$XDG_RUNTIME_DIR/ssh-agent, which I want. In the dumb tty (CTRL+ALT+F2) I get that value. Interactively in XFCE I get SSH_AUTH_SOCK=~/.ssh/agent/*bla*, which I don't want. Gnome keyring is disabled, that gcr ssh thing as well. My shell startup doesn't do it. I'm clueless.

    jappie3J Ud😷 SauerF 2 Replies Last reply
    1
    0
    • Yann Büchau :nixos:N Yann Büchau :nixos:

      Something on my #NixOS is starting `ssh-agent -s` (PID1) and it drives me mad because I can't find what it is. I use programs.ssh.startAgent=true, which sets the SSH_AUTH_SOCK=$XDG_RUNTIME_DIR/ssh-agent, which I want. In the dumb tty (CTRL+ALT+F2) I get that value. Interactively in XFCE I get SSH_AUTH_SOCK=~/.ssh/agent/*bla*, which I don't want. Gnome keyring is disabled, that gcr ssh thing as well. My shell startup doesn't do it. I'm clueless.

      jappie3J This user is from outside of this forum
      jappie3J This user is from outside of this forum
      jappie3
      wrote last edited by
      #2

      @nobodyinperson maybe try `systemctl status <pid>` & `pstree`?

      Yann Büchau :nixos:N 1 Reply Last reply
      0
      • jappie3J jappie3

        @nobodyinperson maybe try `systemctl status <pid>` & `pstree`?

        Yann Büchau :nixos:N This user is from outside of this forum
        Yann Büchau :nixos:N This user is from outside of this forum
        Yann Büchau :nixos:
        wrote last edited by
        #3

        -+= 00001 root /run/current-system/systemd/lib/systemd/systemd
        |--= 02778 yann /run/current-system/sw/bin/ssh-agent -s

        It's apparently a direct descendant of PID1. I'm grepping my entire machine for ssh-agent -s but can't find anything 🤪

        EDIT: It's in session-7.scope - Session 7 of User yann. It has to be some GUI startup thing...

        @jappie3

        jappie3J 1 Reply Last reply
        0
        • Yann Büchau :nixos:N Yann Büchau :nixos:

          Something on my #NixOS is starting `ssh-agent -s` (PID1) and it drives me mad because I can't find what it is. I use programs.ssh.startAgent=true, which sets the SSH_AUTH_SOCK=$XDG_RUNTIME_DIR/ssh-agent, which I want. In the dumb tty (CTRL+ALT+F2) I get that value. Interactively in XFCE I get SSH_AUTH_SOCK=~/.ssh/agent/*bla*, which I don't want. Gnome keyring is disabled, that gcr ssh thing as well. My shell startup doesn't do it. I'm clueless.

          Ud😷 SauerF This user is from outside of this forum
          Ud😷 SauerF This user is from outside of this forum
          Ud😷 Sauer
          wrote last edited by
          #4

          @nobodyinperson do you use fish as a shell? If you do check ~/.config/fish/conf.d for ssh_agent stuff. #beenthere

          Yann Büchau :nixos:N 1 Reply Last reply
          0
          • Ud😷 SauerF Ud😷 Sauer

            @nobodyinperson do you use fish as a shell? If you do check ~/.config/fish/conf.d for ssh_agent stuff. #beenthere

            Yann Büchau :nixos:N This user is from outside of this forum
            Yann Büchau :nixos:N This user is from outside of this forum
            Yann Büchau :nixos:
            wrote last edited by
            #5

            @fernsehmuell Yes. "my shell startup doesn't do it". Very weird. Grepped my entire system for 'ssh-agent -s', nothing.

            1 Reply Last reply
            0
            • Yann Büchau :nixos:N Yann Büchau :nixos:

              -+= 00001 root /run/current-system/systemd/lib/systemd/systemd
              |--= 02778 yann /run/current-system/sw/bin/ssh-agent -s

              It's apparently a direct descendant of PID1. I'm grepping my entire machine for ssh-agent -s but can't find anything 🤪

              EDIT: It's in session-7.scope - Session 7 of User yann. It has to be some GUI startup thing...

              @jappie3

              jappie3J This user is from outside of this forum
              jappie3J This user is from outside of this forum
              jappie3
              wrote last edited by
              #6

              @nobodyinperson systemd user service? check .config/systemd/user or something

              jappie3J 1 Reply Last reply
              0
              • jappie3J jappie3

                @nobodyinperson systemd user service? check .config/systemd/user or something

                jappie3J This user is from outside of this forum
                jappie3J This user is from outside of this forum
                jappie3
                wrote last edited by
                #7

                @nobodyinperson actually no, then it'd probably show up in a tty

                1 Reply Last reply
                0
                • R ActivityRelay shared this topic
                Reply
                • Reply as topic
                Log in to reply
                • Oldest to Newest
                • Newest to Oldest
                • Most Votes


                • Login

                • Don't have an account? Register

                • Login or register to search.
                Powered by NodeBB Contributors
                • First post
                  Last post
                0
                • Categories
                • Recent
                • Tags
                • Popular
                • World
                • Users
                • Groups