我想在远程服务器上执行一个 shell 脚本,该脚本应该由 root 运行,不需要密码(或sudo在脚本中使用)。谁能给我一些建议?
sudo
root ssh remote
remote ×1
root ×1
ssh ×1