Remote access to SFTP server...

I'm working with an OS X Server (5.0.4) and I want to set up a SFTP server that users can access remotely.


I've turned on the FTP service, and that is working wonderfully inside of the office. I've got them set up on a dDNS, and that's working wonderfully and resolving well. Other than port forwarding, what's next?


Also... I have a feeling I'm not understanding something. I think I'm setting up an FTP service. How do I make certain it is the more secure SFTP? Again, this is for remote access, not local.


Thank you in advanced for any help.

Posted on Jan 3, 2018 11:29 AM

Reply
16 replies

Jan 8, 2018 3:40 PM in response to phospholipid77

If ssh access is enabled on the target system (client or server) and the SACL is not blocking access (server), then password-based access is available via ssh. sftp operates atop ssh.


Server settings are in Server.app in the Settings section, client systems enable remote inbound ssh access in the System Preferences > Sharing section.


Generating ssh keys uses the key-gen tool. On macOS, the command-line command is ssh-keygen. I'd skip that for now, at least until the password-based logins are working. Once that's all working, somebody here can point you to discussions of generating keys and of transferring and adding the public keys into the target system.


If the above isn't it? What's going on here? I don't know. The more this thread extends, the more I would strongly recommend against hosting Windows backups locally on this server, as I'm concerned that there might be or are additional security problems exposed or introduced here; the trade-offs involved here are not good ones, around exposing this server in its current state, and given the familiarity with macOS in these environments. A whole lot can go wrong with network-exposed systems and security, and the results are often Not Fun.

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Remote access to SFTP server...

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.