【Mac】Upload files from mac system to Linux server

1. Open the terminal that comes with the mac
2. Link to the remote server
3. Select secure file transfer sftp, click the plus sign under the server on the right to add the remote server ip address you want to connect to
4. Select the server, enter the user name corresponding to the server, and click Connect
5. Enter the password, and the connection is successful.
6. First enter the remote server directory
 7 and then enter the local directory to be uploaded. Add an l in front of the local command and
 execute put -r file name to upload the local file to the remote end.

Guess you like

Origin blog.csdn.net/songyun333/article/details/129314547