Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

My DSA key, without passphrase, isn't working. #29

Open
nblasgen opened this issue May 1, 2016 · 1 comment
Open

My DSA key, without passphrase, isn't working. #29

nblasgen opened this issue May 1, 2016 · 1 comment

Comments

@nblasgen
Copy link

nblasgen commented May 1, 2016

scp: {
  options: {
    host: 'host',
    port: 22,
    username: 'root',
    privateKey: grunt.file.read('/Users/nblasgen/.ssh/id_dsa')
  }, ...
}

If I run the task without a passphrase, I get:

Fatal error: Encrypted private key detected, but no passphrase given

If I change the passphrase to null, same error. If I change it to "" (empty string) I get:

Fatal error: Unable to parse private key while generating public key (expected sequence)

Any ideas? I've googled quite a bit.

@dkurucz
Copy link
Collaborator

dkurucz commented May 1, 2016

looks to be similar to #12 ... I'll have a look at this, I've wanted this feature to be working for a while myself

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants