Oldiesmann
New Member
I recently upgraded laptops from a Lenovo G500 to an HP Pavilion 15-CW1068wm. On this laptop as well as the old one, I'm dual-booting with Windows 10 and Arch Linux. On my old laptop, I installed ksshaskpass and added code to .bash_profile to make Arch prompt me for the password for my SSH key at login. I did the exact same thing on the new laptop, but I'm not being prompted for a password at all - it does launch the ssh-agent and set the SSH_ASK_PASS environment variable.
This is the code in .bash_profile
Any idea why this might not be working?
This is the code in .bash_profile
Bash:
#
# ~/.bash_profile
#
[[ -f ~/.bashrc ]] && . ~/.bashrc
if [ -z "$SSH_AUTH_SOCK" ] ; then
eval `ssh-agent -s`
export SSH_ASK_PASS="/usr/bin/ksshaskpass"
ssh-add
fi
Any idea why this might not be working?