#cloud-config disable_root: false ssh_pwauth: True chpasswd: list: | root:root expire: False packages: - iperf runcmd: - sed -i -e '/^PermitRootLogin/s/^.*$/PermitRootLogin yes/' /etc/ssh/sshd_config - sed -i -e '/^#UseDNS/s/^.*$/UseDNS no/' /etc/ssh/sshd_config - sed -i -e '/^GSSAPIAuthentication/s/^.*$/GSSAPIAuthentication no/' /etc/ssh/sshd_config - restart ssh - systemctl restart sshd - iperf -s -p 6000 -D