Jump to content

Recommended Posts

Posted

Hi, I tried adding new FTP accounts in plesk and failed. Then I read in a forum post that the feature is disabled for security reasons. Please add 2 new ftp accounts.

 

Username: steamspace

Server: Johnny

 

SFTP Account 1 Details:

For Domain: steamspace.in

Required ftp Account Name: projects

Root directory: /projects

 

SFTP Account 2 Details:

For Domain: simbaprojects.com

Required ftp Account Name: simbaprojects

Root directory: /simbaprojects.com

 

Usernames and passwords are sent on HelioHost's Change Password page (https://heliohost.org/password/).

 

Thanks to you

Posted

The following two FTP accounts were created for you.

Username: steamspace_projects
Password: <submited via heliohost.org>
Protocol: SFTP
Host: johnny.heliohost.org
Port: 1373
Logon type: Normal
/projects
Username: steamspace_simbaprojects
Password: <submited via heliohost.org>
Protocol: SFTP
Host: johnny.heliohost.org
Port: 1373
Logon type: Normal
Home: /simbaprojects.com

 

  • Krydos changed the title to [Solved] Add two SFTP Accounts
Posted

Thank you Krydos. The two SFTP accounts are working and they have access to all home directory, can you please limit their access to only directories they are assigned to;

Username: steamspace_simbaprojects
Home: /simbaprojects.com (restrict access only to this directory, now it has access to all /)

 

Username: steamspace_projects
/projects (restrict access only to this directory, now it has access to all /)
Posted (edited)

Thank you Krydos, I am just amazed about, how you find time to manage all these things and help others.

Now the two accounts are restricted to single directories, just the directories are incorrect.

For SFTP username: steamspace_simbaprojects

Required behaviour:

    Restrict access only to this directory: '<home>/simbaprojects.com'

Current behaviour:

    Now this login tries to open directory:

        '/simbaprojects.com/htdocs' 

    and reports:

        "Cannot get real path for '/simbaprojects.com/htdocs'. No such file or directory."

    and then opens:

        a directory named '/steamspace_simbaprojects' (this directory is not needed)

For SFTP username: steamspace_projects

    Required behaviour:

        Restrict access only to this directory: '<home>/httpdocs/projects', (sorry earlier I forgot 'httpdocs' and mentioned '/projects')

    Current behaviour:

        Now this login opens a directory:

            '/steamspace_projects' (It contains a 'test.txt' file, just an info)

 

I added <home> just because I don't know the real document root, i guessed it is '/', but anyway put <home>.

Edited by steamspace
Change folders to directories, for better readability
Posted
11 hours ago, steamspace said:

a directory named '/steamspace_simbaprojects' (this directory is not needed)

Due to the way Linux permissions work and chroot requirements it's not possible to remove it.

11 hours ago, steamspace said:

Restrict access only to this directory: '<home>/httpdocs/projects', (sorry earlier I forgot 'httpdocs' and mentioned '/projects')

Changed.

  • Krydos locked this topic
Guest
This topic is now closed to further replies.
×
×
  • Create New...