Server Config PEM Passphrase : mup


#1

What is the JSON key to use to tell mup (/.deploy/mup.json) the passphrase for your ssh key?

Also, which file could you use as a mup reference for all the key:value pairs in mup.json? I read the mup docs but of course only the most common config options are listed there.

Thanks!


#2

IIRC keys with passphrases aren’t supported.


#3

Oh, crap. Ok. I can just generate a separate key for this server. I’m only ever going to use it for deploying Meteor apps anyway.

BTW, I got the ssh key issue worked out and typed mup setup.

And mup connected to the server ok. But when trying to install Node.js from the NodeSource ppa, it got an error that Python was installed. There wasn’t anything in the mup docs about needing Python, though. Must be a NodeSource requirement. Do you have any idea whether it needs Python 2 or Python 3?


#4

They are supported :smile:

@thebionicman see: https://github.com/arunoda/meteor-up#ssh-keys-with-passphrase-or-ssh-agent-support


#5

That’s awesome (and safer). Thanks for the update.

You should update the boilerplate mup.json file, though. It still says (in the comments in the ‘server’ k/v pair):

// WARNING: Keys protected by a passphrase are not supported

#6

Oh yes. Could you send me a PR :smile:


#7

Sure man - no problem. Done