自動登錄多個IDC機房(expect+shell)

我的博客已遷移到xdoujiang.com請去那邊和我交流 環境說明: 不能使用root直接登錄 需要使用普通用戶登錄後切換root 也不能使用免祕鑰登錄(公司規定) 使用方法: chmod +x login ./login ip的後2個 比如./login 30.30(這個屬於天津網段 那自然就使用天津網段的密碼了) 效果圖 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
相關文章
相關標籤/搜索