Recognition

Posts

22 Posts
  • Published Question

    Restricting a users SFTP access to one directory.

    I am trying to set up my droplet so that an SFTP user can't move up to view other directories above their own /home. I added the following to sshd_config: Match Group filetransfer ChrootDirectory %h X11Forward...
    1 By stevelack Linux Basics Linux Commands Ubuntu
  • Published Answer

    SSL Certificate showing on all sites.

    This is the only thing in the .htaccess of the site that is showing up as the SSL cert on every other site on the server: BEGIN…
    By stevelack
  • Published Answer

    SSL Certificate showing on all sites.

    I did have mod_rewrite enabled as I have a bunch of Wordpress sites on this server. But when I added the rule above it didn’t chan…
    By stevelack
  • Published Answer

    SSL Certificate showing on all sites.

    Yes. Here it is: http://pastebin.com/kePEpj1a
    By stevelack
  • Published Question

    SSL Certificate showing on all sites.

    I installed a couple of self-signed SSL certificates following a tutorial on DO. They are working fine but there are other sites on the same droplet that do not have SSL certificates assigned to them. If you visit o...
    6 By stevelack
  • Published Answer

    MySQL service not starting

    I had this exact same issue last week. I spent the entire day reinstalling MySql, restarting apache, checking the error logs, upgr…
    By stevelack
  • Published Answer

    Site redirects to root index.php - 403?

    Thanks for your help Pablo! It turns out that the client is loading the page through an iframe on their own server and not redirec…
    By stevelack
  • Published Answer

    Site redirects to root index.php - 403?

    I didn’t see root:root anywhere but I ran the chown command anyway and got this: <br> <br>chown: invalid group: `www-data:www:data’…
    By stevelack
  • Published Answer

    Site redirects to root index.php - 403?

    When I try to go to http://genlack.co/sitename/ I get a 403. Is there somewhere I need to check for permissions that I haven’t al…
    By stevelack
  • Published Answer

    Site redirects to root index.php - 403?

    The yes it is in the /etc/apache2/sites-enabled directory and the change was made several days ago, so I don’t think it’s a propaga…
    By stevelack
  • Published Question

    Site redirects to root index.php - 403?

    I have set up a virtual host for a site where the directory only contains an index.html. The virtual host file in the sites-available directory looks exactly the same as other sites on the same droplet. I have set u...
    8 By stevelack
  • Published Answer

    port 22: Connection refused

    Turns out I was using a VPN that blocked port 22. Now everything is working properly.
    By stevelack
  • Published Answer

    port 22: Connection refused

    I’m having the exact same issue. I can log in using the Console but can’t ssh in from terminal or via SFTP. I didn’t intentionall…
    By stevelack
  • Published Answer

    MySql stopped and I can't restart it.

    It’s a 2gb droplet and I did reboot. In case anyone else runs into this situation I checked the logs and didn’t see anything that …
    By stevelack
  • Published Answer

    MySql stopped and I can't restart it.

    It’s a 2gb droplet and I have rebooted.
    By stevelack
  • Published Answer

    MySql stopped and I can't restart it.

    Here’s what I can find but I have no idea what could be causing the error: <br> <br>131207 8:46:33 [Note] /usr/sbin/mysqld: Normal…
    By stevelack
  • Published Question

    MySql stopped and I can't restart it.

    I received the following error: ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (111) So after restarting the server and trying to figure out what was going on I tr...
    13 By stevelack
  • Published Answer

    SSH Port

    Thanks! That’s just what I needed. <br> <br>Steve
    By stevelack
  • Published Question

    SSH Port

    How can I change the SSH port from 22 to something else? The VPN I'm using blocks port 22. What should I change it to?
    3 By stevelack
  • Published Question

    FTP error.

    I am experimenting with setting up an FTP account so that hosting clients can log in to upload files to their site. I have installed VSFTP, created a group and user and assigned the user's home directory to /home/name...
    1 By stevelack