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.