#!/bin/bashsudo apt-get install openssh-server -ysudo sed -i 's/without-password/yes/g' /etc/ssh/sshd_config
卸載的腳本
#!/bin/bashsudo stop sshdsudo apt-get remove openssh-server --purge -y