Browse Source

Add missing cmd

Joachim M. Giæver 2 years ago
parent
commit
470ca0d8e3
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/env/env-wrapper

+ 1 - 1
src/env/env-wrapper

@@ -16,7 +16,7 @@ if [ ! -d "${VSCS_SSH}" ]; then
     mkdir --mode=0700 "${VSCS_SSH}"
     touch "${VSCS_SSH}/config"
     chmod 0644 "${VSCS_SSH}/config"
-    echo "alias ssh-keygen='${SSH_KEYGEN}'" >> "${SNAP_USER_DATA}/.bashrc" 
+    echo "alias ssh-keygen='ssh-keygen -f \"${VSCS_SSH}/id_rsa\"'" >> "${SNAP_USER_DATA}/.bashrc" 
     git config --global core.sshCommand "ssh -i \"${VSCS_SSH}/id_rsa\" -F \"${VSCS_SSH}/config\" -o BatchMode=yes -o StrictHostKeyChecking=accept-new -o UserKnownHostsFile=\"${VSCS_SSH}/known_hosts\""
 fi