0
<node
name="***"
tags="***"
osFamily="***"
username="***"
hostname="192.168.***.***"
ssh-authentication="password"
ssh-password-storage-path="keys/nodes/${node.name}/ssh.password"
sudo-command-enabled="true"
sudo-password-storage-path="keys/nodes/${node.name}/sudo.password"
/>
sudo mv /temp/hello.txt /path/to/destination/
然後我就通過密鑰存儲加密碼。
- 我確信使用sudo.password編寫的密碼是正確的。
- 我已經重新啓動rundeck服務器,我不能得到這個工作...
- 我試着設置sudo的 - 失敗 - 在提示符超時=「假」
錯誤接收:
Remote command failed with exit status -1
14:48:18 Sudo execution password response failed: Failed waiting for input prompt: Expected input was not seen in 5000 milliseconds
14:48:18 Failed: NonZeroResultCode: Remote command failed with exit status -1
14:48:13 Password:
什麼是它不工作???