59.3 開啓Ubuntu的22端口以鏈接xshell

查看ipssh ifconfig 查看22端口是否開啓:code netstat -ntlp|grep 22 開啓22端口方法server sudo apt-get install openssh-server sudo apt-get install ufw sudo ufw enable sudo ufw allow 22 其中ip 一、安裝ssh 二、安裝防火牆 三、開啓防火牆 四、使防火牆
相關文章
相關標籤/搜索