- 本打算在mac下安装一个vsftpd,百度后发现mac本身自带ftp服务端与客户端,试了一下ok:
Ftp服务端开启
sudo -s launchctl load -w /System/Library/LaunchDaemons/ftp.plist
测试
ftp localhost
Trying ::1...
Connected to localhost.
220 ::1 FTP server (tnftpd 20100324+GSSAPI) ready.
Name (localhost:sanqinyouzi):
331 User sanqinyouzi accepted, provide password.
Password:
230 User sanqinyouzi logged in.
Remote system type is UNIX.
Using binary mode to transfer files.
- 同样,macOS自带Vnc客户端:
commond+空格,输入screen会显示“屏幕共享” 程序
位置:
/System/Library/CoreServices/Applications/Screen Sharing.app
图: