I have succeeded in getting SSH/SFTP access to my server enabled. At current, generic SSH is not allowed, only SFTP. When a user that is allowed to logs into the SFTP server, they chroot into /home/%u. I would like to change that to:

/var/www/vhosts/www.mysite.com/htdocs,

where the chroot is the dir www.mysite.com, and the writeable directory is htdocs.

However, when I attempt to do this, I get something like "broken pipe. exiting". And when I mess with the permissions, I get "you don't have permission to access / on this server, when trying to view the site in a browser.

what am I doing wrong? What do the permissions have to be?
bump
lol bump
  
Register to Join the Conversation
Have your own thoughts to add to this or any other topic? Want to ask a question, offer a suggestion, share your own programs and projects, upload a file to the file archives, get help with calculator and computer programming, or simply chat with like-minded coders and tech and calculator enthusiasts via the site-wide AJAX SAX widget? Registration for a free Cemetech account only takes a minute.

» Go to Registration page
Page 1 of 1
» All times are UTC - 5 Hours
 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

 

Advertisement