acmesh-official / acme.sh

A pure Unix shell script implementing ACME client protocol
https://acme.sh
GNU General Public License v3.0
38.8k stars 4.92k forks source link

3.0.6 blows away multiple ssh deploy servers #4505

Open bingaman opened 1 year ago

bingaman commented 1 year ago

https://github.com/acmesh-official/acme.sh/blob/d4befeb5360e278fbc6be775c0ec60de464ed9fb/deploy/ssh.sh#L60

Before state, Le_Deploy_ssh_server configuration variable contains a list of ssh servers. After upgrading to 3.0.6 from 3.0.5 or any earlier version, the updated config using the new ssh deployment config only contains the single cdomain and the previous Le_Deploy_ssh_server values are lost.

github-actions[bot] commented 1 year ago

Please upgrade to the latest code and try again first. Maybe it's already fixed. acme.sh --upgrade If it's still not working, please provide the log with --debug 2, otherwise, nobody can help you.

HRHDaniel commented 1 year ago

I believe this is related to an issue not reading variables with spaces correctly: https://github.com/acmesh-official/acme.sh/issues/4495 If so, this PR can address: https://github.com/acmesh-official/acme.sh/pull/4509