allow use of ~ for path to ssh key