Linux 配置
首先 Linux 安装 SSH :
sudo apt install openssh-server
修改 SSH 配置 :
vim /etc/ssh/sshd_config
添加以下代码 :
#PermitRootLogin without-password
PermitRootLogin yes
重启 SSH :
systemctl restart sshd
查看本地地址
ifconfig
Mac 远程访问
访问上面地址即可
ssh root@10.211.55.11
本文详细介绍如何在Linux系统中安装及配置SSH服务,包括允许root登录、重启SSH服务及获取本地IP地址等步骤,并演示如何从Mac系统进行远程访问。
2076

被折叠的 条评论
为什么被折叠?



