使用xshell連接虛擬機中安裝的Fedora 31

第一種:不使用root用戶連接 修改ssh配置文件,以root用戶操作 vim /etc/ssh/ssh_config 打開22端口,在配置文件中新增如下: Port 22 Protocal 2 保存退出,重啓sshd服務:systemctl restart sshd 設置ssh服務開機自啓:systemctl enable sshd 查看服務是否啓動成功:ps -e | grep sshd 由於
相關文章
相關標籤/搜索