Twitter     Facebook
Hosting Discussion

forgot password?



  Post #1 (permalink)   07-12-2019, 12:02 AM
HD Addict
Join Date: Sep 2006
Location: Nashik
Posts: 123
Send a message via AIM to hostechsupport Send a message via MSN to hostechsupport Send a message via Yahoo to hostechsupport Send a message via Skype™ to hostechsupport

Status: hostechsupport is offline
How to create an SFTP Server using Linux CentOS?

  Post #2 (permalink)   07-12-2019, 12:32 AM
HD Management Staff
Artashes's Avatar
Join Date: Apr 2003
Posts: 10,255

Status: Artashes is offline
Shouldn't you know the answer to this?
The Following User Says Thank You to Artashes For This Useful Post:
bountysite (07-29-2019)

  Post #3 (permalink)   07-12-2019, 01:01 PM
HD Wizard
easyhostmedia's Avatar
Join Date: Mar 2011
Location: Northumberland, UK
Posts: 5,811
Send a message via MSN to easyhostmedia

Status: easyhostmedia is offline
Originally Posted by hostechsupport View Post
How to create an SFTP Server using Linux CentOS?
You cant be much of a server management company if you have to ask this question.

I did a google search and got many ways of doing this and it should be easy for a server management company
Terry Robertson - CEO The Easyhost Media Group
PowerSSL - - We Secure your World
The Scamlist Forum - Fighting against scammers

  Post #4 (permalink)   07-28-2019, 01:07 PM
HD Community Advisor
ughosting's Avatar
Join Date: Jan 2011
Location: London
Posts: 733

Status: ughosting is offline
If you can log in over SSH, you can SFTP.

Just ensure that all your users and directories have minimal permissions.
Performance Elastic Hosting & Domain Reseller Pricing
Elastic Hosting, Why buy a VPS, when you can get the power and resource you need from a User/Reseller account?
Control Panel Demo. Username: demo_reseller Password: demo

  Post #5 (permalink)   07-29-2019, 01:44 AM
HD Newbie
Join Date: Oct 2017
Posts: 40

Status: bountysite is offline

I think the question is how to enable SFTP without allowing SSH. A while back, I was troubleshooting a godaddy site, and found that their support calls SFTP as FTP.
They provide SFTP without shell access.

The following entry in sshd_config converts ssh(openssh-server) into a sftp server. I suppose, this can be done in a read only authorized_keys too.

ForceCommand internal-sftp
NOTE: Careful, this applies for all users. Don't get yourself locked out. Use another instance or some other daemon.
BountySite: Every Website deserves Security
Website Time Machine with Offsite Security Scanning
FileTrail - Full Server Backup | SSHTrail - SSH Jumpbox

Thread Tools

New Post New Post   Old Post Old Post
Posting Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Sponsored By: