centos7用的firewalld
1、firewalld的基本使用
啟動: systemctl start firewalld
關閉: systemctl stop firewalld
查看狀態: systemctl status firewalld
開機禁用 : systemctl disable firewalld
開機啟用 : systemctl enable firewalld
xshell的使用
1.下載xshell安裝 2.設置需要連接的主機的IP地址 3.若果對面設置賬號和用戶名 則屬需要在xshell身份驗證
使用xshell上傳文件到linux (小技巧)
拖動需要的文件到xshell窗口,必須確保linux關閉了防火牆和安裝上傳插件lrzsz
沒有則通過yum install lrzsz安裝
rz上傳 sz下載 上傳默認是當前目錄
python的第三方庫也是ssh連接
paramiko 詳情 https://www.cnblogs.com/wupeiqi/articles/5501365.html