~ in privateKey does not work #11

merged 3 commits into from Apr 22, 2013


None yet
1 participant

oncletom commented Apr 22, 2013

From the tail of my strace -f -e trace=file grunt:

stat("~/.ssh/chrome-apps.pem", 0x7fff25cec6d0) = -1 ENOENT (No such file or directory)


ls ~/.ssh/chrome-apps.pem -l -rwx------ 1 rektide rektide 1090 2013-03-06 22:20:14 -0500 /home/rektide/.ssh/chrome-apps.pem*

The ~ in the privateKey option needs to be converted into the users home directory. Opening a file with ~ in it does not work.


oncletom commented Mar 7, 2013

Hi, this means that ~ is not resolved by grunt filepath expand library.

I've quickly digged into and I can't find the user dir in any documentation.

oncletom pushed a commit that referenced this pull request Apr 22, 2013

Merge pull request #11 from oncletom/fix-11
~ in privateKey does not work

@oncletom oncletom merged commit d8547e5 into master Apr 22, 2013

1 check passed

default The Travis build passed

@oncletom oncletom deleted the fix-11 branch Apr 22, 2013


oncletom commented Apr 22, 2013

Will be available in 0.2.1 in a couple of minutes then :-)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment