利用sshpass實現登陸 解決了用戶認證登陸 sshpass -p {password} /usr/bin/ssh {user}@{ip_addr} -o "StrictHostKeyChecking no
用 strace抓包記錄操作 /usr/bin/strace -ttt -p $ssh_pid -o "$today_audit_dir/$md5_str.log"
專門用個用戶在.bashrc python ssh_login.py
logout
利用sshpass實現登陸 解決了用戶認證登陸 sshpass -p {password} /usr/bin/ssh {user}@{ip_addr} -o "StrictHostKeyChecking no
用 strace抓包記錄操作 /usr/bin/strace -ttt -p $ssh_pid -o "$today_audit_dir/$md5_str.log"
專門用個用戶在.bashrc python ssh_login.py
logout
本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。