How to Make Your Mac an SFTP Server

How can I set up my Mac as an SFTP server to access my files from any computer? I always seem to forget to bring along presentations! Can it be set up to allow directory browsing through a web browser, and allow web downloads? Also, how can I set up a free DNS name so I don’t have to worry about typing my computer’s IP Address?

In order to enable SFTP, you must first enable SSH on your Mac. Before we begin, though, you’ll need a Mac running OS X, a router with port-mapping features (we’re using an AirPort Extreme), and an SFTP client (we’re using Transmit, available on the Mac App Store).

Step 1: Configure IP Address and Router Settings

To begin, you need to set up your Mac to use a static IP address on your local network, and configure your router to forward the SSH port to your Mac. This will allow your router to remap the incoming SSH request to your specific Mac. To do this, open System Preferences and navigate to Network > AirPort (or Ethernet) > Advanced > TCP/IP, and select “Using DHCP with manual address.”