1.ubuntu配置:
安装openssh服务:
sudo apt-get install openssh-server -y

查看服务启动状态:
systemctl status ssh
2.macOS使用scp连接ubuntu并发送文件
查看ubuntu IP :
ifconfig

macOS终端连接ubuntu :
sc微信扫一扫
1.ubuntu配置:
安装openssh服务:
sudo apt-get install openssh-server -y

查看服务启动状态:
systemctl status ssh
2.macOS使用scp连接ubuntu并发送文件
查看ubuntu IP :
ifconfig

macOS终端连接ubuntu :
sc