# This will allow pssh to run sudo without password, this is required in hosts only, VMs works find without this. # This will open a file sudo visudo # Add below to that file ds ALL=(ALL) NOPASSWD:ALL # Only needed in Host 0 ssh-keygen -t ed25519 -C "amit@kahanit.com" # Copy Host 0 keys to other hosts ssh-copy-id ds@192.168.29.x # Verify pssh -h hosts.txt -i "sudo uptime"