Skip to content
This repository has been archived by the owner on Nov 14, 2018. It is now read-only.

Possible to use an SSH key with passcode? #24

Open
ngottlieb opened this issue Oct 7, 2015 · 4 comments
Open

Possible to use an SSH key with passcode? #24

ngottlieb opened this issue Oct 7, 2015 · 4 comments

Comments

@ngottlieb
Copy link

I'm running into this error trying to deploy to a front_end_builds app:

Done uploading assets
error:0906A068:PEM routines:PEM_do_header:bad password read
Error: error:0906A068:PEM routines:PEM_do_header:bad password read
    at Error (native)
    at Sign.sign (crypto.js:327:26)
    at Class.module.exports.Task.extend.signDeploy (/home/nickg/projects/subtext-ui/node_modules/ember-cli-front-end-builds/lib/tasks/deploy-index.js:63:8)
    at Class.module.exports.Task.extend.notifyEndpoint (/home/nickg/projects/subtext-ui/node_modules/ember-cli-front-end-builds/lib/tasks/deploy-index.js:73:23)
    at /home/nickg/projects/subtext-ui/node_modules/ember-cli-front-end-builds/lib/tasks/deploy-index.js:114:27
    at Array.forEach (native)
    at Class.module.exports.Task.extend.run (/home/nickg/projects/subtext-ui/node_modules/ember-cli-front-end-builds/lib/tasks/deploy-index.js:113:15)
    at /home/nickg/projects/subtext-ui/node_modules/ember-cli-front-end-builds/lib/commands/deploy.js:51:32
    at lib$rsvp$$internal$$tryCatch (/home/nickg/projects/subtext-ui/node_modules/ember-cli/node_modules/rsvp/dist/rsvp.js:493:16)
    at lib$rsvp$$internal$$invokeCallback (/home/nickg/projects/subtext-ui/node_modules/ember-cli/node_modules/rsvp/dist/rsvp.js:505:17)

My interpretation of this is that it's because my ssh key has a passcode, and I don't see a way to configure ember-cli-front-end-builds to utilize a passcode or an SSH agent. Am I wrong about that / is it in the pipeline?

@jah2488
Copy link

jah2488 commented Jul 3, 2017

@ngottlieb @iirving @jhirbour Any luck with this issue before I start working on a fix?

@iirving
Copy link

iirving commented Jul 3, 2017

I removed the passcode from my ssh key :( Go for it!

@jhirbour
Copy link

jhirbour commented Jul 3, 2017

I haven't worked on a fix yet. I was able to get my deploy working by making a seperate key (with no pass phrase) for deployments.

@jah2488
Copy link

jah2488 commented Jul 3, 2017

@jhirbour That was the route I was going to go as it seemed like less friction then trying to fork the repo and make needed changes.

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

No branches or pull requests

4 participants