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. 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.
-
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.
@nobodyinperson maybe try `systemctl status <pid>` & `pstree`?
-
@nobodyinperson maybe try `systemctl status <pid>` & `pstree`?
-+= 00001 root /run/current-system/systemd/lib/systemd/systemd
|--= 02778 yann /run/current-system/sw/bin/ssh-agent -sIt'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...
-
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.
@nobodyinperson do you use fish as a shell? If you do check ~/.config/fish/conf.d for ssh_agent stuff. #beenthere
-
@nobodyinperson do you use fish as a shell? If you do check ~/.config/fish/conf.d for ssh_agent stuff. #beenthere
@fernsehmuell Yes. "my shell startup doesn't do it". Very weird. Grepped my entire system for 'ssh-agent -s', nothing.
-
-+= 00001 root /run/current-system/systemd/lib/systemd/systemd
|--= 02778 yann /run/current-system/sw/bin/ssh-agent -sIt'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...
@nobodyinperson systemd user service? check .config/systemd/user or something
-
@nobodyinperson systemd user service? check .config/systemd/user or something
@nobodyinperson actually no, then it'd probably show up in a tty
-
R ActivityRelay shared this topic