Skip to content

Commit

Permalink
Patches missing newline from ssh-keygen.
Browse files Browse the repository at this point in the history
  • Loading branch information
tcr committed Nov 4, 2015
1 parent 81d65b6 commit 89fd66f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/tessel/provision.js
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ actions.setupLocal = function(keyFile) {
b: 2048
});
var privateKey = key.exportKey('private');
var publicKey = sshpk.parseKey(key.exportKey('public'), 'pem').toString('ssh');
var publicKey = sshpk.parseKey(key.exportKey('public'), 'pem').toString('ssh') + '\n';

// Make sure dir exists
fs.ensureDir(path.dirname(keyFile), function(err) {
Expand Down

0 comments on commit 89fd66f

Please sign in to comment.