Skip to content

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

@spotshare-nick

Description

@spotshare-nick
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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions