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 (Cyborg)
  • No Skin
Collapse
Brand Logo

CIRCLE WITH A DOT

  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.
  • nobodyinperson@fosstodon.orgN This user is from outside of this forum
    nobodyinperson@fosstodon.orgN This user is from outside of this forum
    nobodyinperson@fosstodon.org
    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.

    jappie3@infosec.exchangeJ fernsehmuell@chaos.socialF 2 Replies Last reply
    1
    0
    • nobodyinperson@fosstodon.orgN nobodyinperson@fosstodon.org

      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.

      jappie3@infosec.exchangeJ This user is from outside of this forum
      jappie3@infosec.exchangeJ This user is from outside of this forum
      jappie3@infosec.exchange
      wrote last edited by
      #2

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

      nobodyinperson@fosstodon.orgN 1 Reply Last reply
      0
      • jappie3@infosec.exchangeJ jappie3@infosec.exchange

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

        nobodyinperson@fosstodon.orgN This user is from outside of this forum
        nobodyinperson@fosstodon.orgN This user is from outside of this forum
        nobodyinperson@fosstodon.org
        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

        jappie3@infosec.exchangeJ 1 Reply Last reply
        0
        • nobodyinperson@fosstodon.orgN nobodyinperson@fosstodon.org

          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.

          fernsehmuell@chaos.socialF This user is from outside of this forum
          fernsehmuell@chaos.socialF This user is from outside of this forum
          fernsehmuell@chaos.social
          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

          nobodyinperson@fosstodon.orgN 1 Reply Last reply
          0
          • fernsehmuell@chaos.socialF fernsehmuell@chaos.social

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

            nobodyinperson@fosstodon.orgN This user is from outside of this forum
            nobodyinperson@fosstodon.orgN This user is from outside of this forum
            nobodyinperson@fosstodon.org
            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
            • nobodyinperson@fosstodon.orgN nobodyinperson@fosstodon.org

              -+= 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

              jappie3@infosec.exchangeJ This user is from outside of this forum
              jappie3@infosec.exchangeJ This user is from outside of this forum
              jappie3@infosec.exchange
              wrote last edited by
              #6

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

              jappie3@infosec.exchangeJ 1 Reply Last reply
              0
              • jappie3@infosec.exchangeJ jappie3@infosec.exchange

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

                jappie3@infosec.exchangeJ This user is from outside of this forum
                jappie3@infosec.exchangeJ This user is from outside of this forum
                jappie3@infosec.exchange
                wrote last edited by
                #7

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

                1 Reply Last reply
                0
                • R relay@relay.an.exchange shared this topic
                Reply
                • Reply as topic
                Log in to reply
                • Oldest to Newest
                • Newest to Oldest
                • Most Votes


                • Login

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