I babysit a number of servers for local businesses. Most of them are gateway servers, running CentOS-based software (SME Server or Nethserver), but also a few Ubuntu servers (I’m not a fan of Ubuntu, but its too complicated at this stage to change to something else…). As a result, I use SSH a great deal. For security reasons, none of the servers allow password authentication - all are paired-key only.
Under Xfce, I normally go to Settings > Session and Startup > Advanced and enable loading Gnome services at startup. Which means that ssh-agent is loaded when I log in and remains active for the current session. Easy and secure.
In Endevour, I did the same thing. But the ssh-agent does not work the same way. I can’t remember having to do anything else on any other system I’ve used in recent years. Looking at running processes, I see a difference between what my stock Arch install and Endevour seem to be running.
Arch shows this:
[paulm@rigel Downloads]$ ps ax | grep ssh 462 ? Ss 0:00 /usr/bin/sshd -D 4775 ? S 0:00 /usr/bin/ssh-agent -D -a /run/user/1000/keyring/.ssh 44424 pts/3 S+ 0:00 ssh email@example.com 51697 pts/0 S+ 0:00 grep ssh
My new Endevour install shows this:
[paul@orion ~]$ ps ax | grep ssh 585 ? Ss 0:00 /usr/bin/sshd -D 738 ? Ss 0:00 /usr/bin/ssh-agent -s 1029 pts/1 Z+ 0:00 [ssh] <defunct> 1993 ? Ss 0:00 sshd: paul [priv] 1995 ? S 0:00 sshd: paul@pts/3 2001 pts/3 R+ 0:00 grep ssh
While I can use ssh-agent manually, I’ve been using the automated loading method for so long that I keep forgetting to do so, then end up with problems if I use something like Filezilla to make an SSH connection to one of the servers.
Can anyone tell me what I’m missing? Everything I can think of seems to be in place, and ssh-agent is running, but not in the same manner that it is running under stock Arch.