Glenn Strauss
c43c711f72
use _getdeployconf instead of sourcing DOMAIN_CONF
(requested by @Neilpang in #3394 )
github: closes #3394
3 years ago
fradev
08d60fcbf2
Update ssh.sh
shfmt formatting
3 years ago
fradev
4cda54774a
Update ssh.sh
SC2086 and SC2215
3 years ago
fradev
613475ac26
Update ssh.sh
3 years ago
fradev
20d23fcb92
Update ssh.sh
Added scp mode for copy the certs
3 years ago
neil
19c4345162
fix shfmt
4 years ago
PM Extra
a78a09f594
Support multiple servers for SSH deployment.
5 years ago
dkerr64
f38df4df11
Make remote backup directory path user configurable.
5 years ago
dkerr64
554e083f3d
For MULTI_CALL default to undefined, deleting entry in config file if set to "no"
5 years ago
dkerr64
8ba573d196
Change variable name to MULTI_CALL so default can be "no"
5 years ago
dkerr64
f73a494407
Remove spaces on blank line to fix travis error
5 years ago
dkerr64
46ee74ed16
Remove variable from info/error printout that could potentially expose login credentials.
5 years ago
dkerr64
806b746fc0
Fix bug where backup and batch_mode yes/no values could not be changed.
Once set to "no" then they could never be set back to "yes"
5 years ago
dkerr64
cc820e97c6
Add support for DEPLOY_SSH_BATCH_MODE with default of yes.
Before this update all remote commands were bunched together and
sent to the remote host in a single SSH command. This could result
in a very long sequence of commands that might be rejected by a
remote host (example is VMware ESXi that uses busybox sh).
With this update you can set DEPLOY_SSH_BATCH_MODE="no" and
each remote command is sent as a separate SSH call so now we
do not have big long sequence of commands. Defaults to same
behaviour as before this update.
5 years ago
dkerr64
283b04df73
Move cleanup of backup directory to first step in the function.
5 years ago
dkerr64
6420d1239f
Move call to remote system into separate function
5 years ago
dkerr64
04771e5a4a
Move call to remote system into separate function
5 years ago
dkerr64
3d9608faa0
Move -T parameter into default ssh command variable
5 years ago
little-fat
63134fafec
Fix key leakage in SSH deploy log
6 years ago
David Kerr
0649206796
remove _ACME prefix from all exported variables.
8 years ago
David Kerr
3a77a6eded
cleanup documentation and suppress some remote messages.
8 years ago
David Kerr
18a90734d9
Alternate backup cleanup after 180 days method.
8 years ago
David Kerr
a4b2cebef6
Make backup of certs on remote server optional. Defaults to yes.
8 years ago
David Kerr
68d708e56d
Reduce and simplify number of exported variables. Also allow any cert file to
append to previous file.
8 years ago
David Kerr
3365df7778
Make certificate domain name part of the backup directory name.
8 years ago
David Kerr
3be5a68e12
Rename sshdeploy.sh to ssh.sh
8 years ago
David Kerr
f158caa2eb
Updates from code review
8 years ago
David Kerr
9507b121ac
More selective pruning of certificate backup directories.
8 years ago
David Kerr
3812b275e9
Moving on to the next batch of travis errors.
8 years ago
David Kerr
6c1561f415
Grasping at straws now !!
8 years ago
David Kerr
9ab6353d73
Trying again.
8 years ago
David Kerr
ff60dc4d24
More Travis issues !!!
8 years ago
David Kerr
62e7d904b4
Travis errors
8 years ago
David Kerr
5d3de4b670
Additional info messages for backup management
8 years ago
David Kerr
7d75ad4c56
Backup old certificates before overwriting. Add userid export parameter.
And generate error if nothing to do at remote server.
8 years ago
David Kerr
989651c23b
Initial version
8 years ago