steamspace Posted November 2 Posted November 2 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
steamspace Posted November 3 Author Posted November 3 Thanks to you & sorry, I failed to notice you have already escalated. 1
Krydos Posted November 3 Posted November 3 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
steamspace Posted November 4 Author Posted November 4 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 /)
steamspace Posted November 5 Author Posted November 5 (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 November 5 by steamspace Change folders to directories, for better readability
Krydos Posted November 5 Posted November 5 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.
steamspace Posted November 6 Author Posted November 6 Thanks Krydos, seems ok, will inform you after testing it.
Recommended Posts