echo Permission Denied
Working in Debian I've generated a private key.
Then I am attempting to configure for TLS only.
sudo openssl req -x509 -nodes -newkey rsa:1024 -keyout /etc/ssl/private/pure-ftpd.pem -out /etc/ssl/private/pure-ftpd.pem
Problem is I keep getting an 'permission denied' response.
Sudo echo 2 > /etc/pure-ftpd/conf/TLS
you are running 'echo' as root, but the redirection ('>') is being called by you. instead, try this:
or try wrapping the whole thing in quotes:
echo 2 | sudo tee /etc/pure-ftpd/conf/TLS
sudo "echo 2 > /etc/pure-ftpd/conf/TLS"
Worked, thanks. Been a few days but iirc it was the quote wrapping that did the trick.
Originally Posted by atreyu
great, glad you got it sorted.
marking as Solved. Note that you can do this yourself using the Thread Tools link at the top of the page.