Add checks for the (new) security key files...

Patch assumes previous patch has been applied.

Ross
----


--- Xsession.in.prev    Mon Nov 25 21:29:42 2019
+++ Xsession.in Mon Nov 25 21:35:11 2019
@@ -26,10 +26,12 @@ fi
 id1=$HOME/.ssh/id_dsa
 id2=$HOME/.ssh/id_rsa
 id3=$HOME/.ssh/id_ecdsa
-id4=$HOME/.ssh/id_ed25519
+id4=$HOME/.ssh/id_ecdsa_sk
+id5=$HOME/.ssh/id_ed25519
+id6=$HOME/.ssh/id_ed25519_sk
 if [ -z "$SSH_AGENT_PID" ];
 then
-       if [ -x /usr/bin/ssh-agent ] && [ -f $id1 -o -f $id2 -o -f $id3 -o -f 
$id4 ];
+       if [ -x /usr/bin/ssh-agent ] && [ -f $id1 -o -f $id2 -o -f $id3 -o -f 
$id4 -o -f $id5 -o -f $id6 ];
        then
                eval `ssh-agent -s`
                ssh-add < /dev/null

Reply via email to