Can I get MUP to ask for password instead of specifying it?

So in my mup.json file I’m asked to put in my server authentication details in order for mup to ssh into my server.

For obvious reasons, I don’t want to be putting the password for my prod server in source control, so just wondering, is there a way I can enter the password at runtime isntead of needing to declare it in the mup.json file?

I believe this question is relevant for both MUP and MUPX as they both use the same file.

Both mup/mupx support using private key based server authentication. Just set your receiving server up to accept key based SSH connections, then specify the location of your local private key in the mup.json file:

...
  "servers": [
    {   
      "host": "someawesomehost.io",
      "username": "jsmith",
      "pem": "~/.ssh/id_rsa"
    }   
  ],  
...