Mac 通过 SSH 控制 Linux

xiaoxiao2021-02-28  86

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
转载请注明原文地址: https://www.6miu.com/read-71201.html

最新回复(0)