Split SSH

With a setup of
vault: fedora-43-minimal
client: debian-13/fedora-43-xfce
No KeePassXC.

This fails by default with The agent has no identities. in the client VM.
Any hints why? I can’t see any logs showing up in the vault VM (journalctl -f).

Ok, I think I was just stupid. Restarting Qubes helped. Guess the policy is not take otherwise.

It seems that this needs an update as per this comment here.

I am having a similar problem as this user mentioned here.

I’ve described my problem here. It seems that troubleshooting requires an intimate knowledge of ssh-agent and how it interacts with GUI vs. command line.

Edit: I was able to find a temporary solution to my problem by modifying ~/.ssh/config as described in a comment on this guide. In short it was partially a connectivity issue as well as the communication with the VM having been affected (from what I can tell, most seem to be using the KeepassXC form of the setup, not the built-in password utility).

Full solution for the interested

I have updated this guide as follows:

  • converted the SVG to PNG with white background. I realized that the transparent SVG didn’t work well with discourse’s dark mode (also I think it’s better to keep the data local to the forum in case the Git repo gets changed)
  • updated links to doc.qubes-os.org (for now, the old links auto-redirect but better to use the correct link target)
  • updated screenshots to reflect the “new” way of creating AppVMs in Qubes
  • rewrote the policy part to use the easier to use “Qubes OS Policy Editor” instead of the CLI approach
  • replaced gedit for file modifications because it isn’t preinstalled in the (default) XFCE variant of the templates
  • fixed the hyperlinks to different sections in the guide
  • fixed a bit of markdown syntax that broke numbering of enumeration items during edit
  • re-ordered the instruction steps. If you want the KeePassXC variant, there’s no need for ssh-askpass and configuration of it
  • changed ssh-askpass-gnome in Debian install instructions to ssh-askpass. Note that I neither use the variant without KeePassXC nor Debian templates at all, therefore I can’t easily check if everything works fine. However, there have been some comments in the past about this Gnome-specific package and it doesn’t make sense in the default XFCE-based templates.

Some of the recent comments state that the ssh-askpass-based approach might still be flawed.
I can however confirm that the KeePassXC variant still works in Qubes 4.3 using this guide.

1 Like