网站首页
编程语言
数据库
系统相关
其他分享
编程问答
处女作
2024-09-12
shell脚本处女作
#!/bin/bashrm-rf/root/.ssh/{id_rsa,id_rsa.pub}ssh-keygen-trsa-f/root/.ssh/id_rsa-N""&>/dev/nullend=$(tail-1/passwd1.txt)echo>/success.txtecho>/failure.txt#b(){sshpass-p"$passwd"ssh-oConnectTimeo