How to upload files via SSH from Mac

If you are looking for how to upload files via SSH from Mac, this tip may be helpful for you.

What you need

    • SSH Access to your server
    • File / folder that you want to upload
    • Terminal

 

Now open your terminal and type-

scp -r /the/full/path/of/your/folder/or/file/at/local/computer [email protected]:/folder/where/you/want/to/uploadhtml/api

Here-

/the/full/path/of/your/folder/or/file/at/local/computer means the folder you want to upload to the server.

[email protected]:/folder/where/you/want/to/uploadhtml/api profile full folder name where you want to upload.