283 reputation
216
bio website biteof.com
location
age 21
visits member for 2 years, 6 months
seen Jun 19 at 15:51

Jan
8
comment Tunnel windows VPN through SSH
Ok thanks, do you have a link to any resources for then connecting to the actual VPN? All the stuff I can find online assumes OpenVPN is your final destination.
Jan
8
comment Tunnel windows VPN through SSH
When you say I can tunnel OpenVPN in TCP mode, does that mean I can install OpenVPN on my intermediate server and connect that to the actual VPN or does the actual VPN have to be created with OpenVPN (as I have no control over that)?.
Dec
20
comment Securing elasticsearch
But is there any documentation on locking it so? I am willing to build an API using the PHP client, however I am not comfortable I know how to ensure that elasticsearch can only be communicated to via my application. I have considered localhost only but I don't want another person with the ability to generate PHP scripts on the server to be able to bypass it.
Dec
14
comment bash script to create user then create ssh keys
Thanks this is also very useful. The private keys are to be used by WordPress to perform plugin updates. I chroot everyone but the admins into an area they can't access each others directories from, and in an area where each user can only affect themselves. I think the private key has to be on the server for it to utilise it.
Dec
14
comment bash script to create user then create ssh keys
Actually it says: Could not stat /usr/share/nginx/test/home/.ssh: Permission denied
Dec
14
comment bash script to create user then create ssh keys
Bingo! thanks :) will accept when timer is up.
Apr
7
comment SFTP user can't edit or create files
Thanks I had the chroot set up correctly it's just I didn't realise they don't have permissions directly in their chroot directory and need a sub folder. I moved all the files into a sub folder and they can now make changes.
Apr
7
comment SFTP user can't edit or create files
I don't mind being downvoted but please tell me why - do you need more information .etc? I'm very new to server admin and it doesn't help my confusion much.
Jun
17
comment Varnish, hide port number
@MikePennington That is the answer, I didn't change my varnish settings. I changed my site url in the worpress dashboard from plawithbits.com:8080 to plawithbits.com as it was performing redirects.
Jun
14
comment Varnish, hide port number
The functionality for purging Varnish at the most useful times (anytime you edit a file in wordpress) is already built into a well known WordPress plugin I use, building a similar plugin would add development time not worth the trouble. I am not sending 301 or 302 responses, the site works on both port 8080 and port 80 however if you request on port 8080 (The same content is loaded) you deal directly with Nginx and bypass Varnish.
Jun
14
comment Varnish, hide port number
@becomingwisest Updated question with information.
Jun
14
comment Kernel appears to have no modules
I ended up reinstalling CentOS (and upgrading to 6.2) which came with the same kernel, and all the modules are there now.
Jun
14
comment Custom VCL prevents varnish from starting
Sure updated question with solution.
Jun
14
comment Custom VCL prevents varnish from starting
Found the error sorted. Thanks
Jun
14
comment Nginx vhost on non-standard port not working
@hangover Cheers, didn't know about that. It returns nginx: the configuration file /usr/local/nginx/conf/nginx.conf syntax is ok nginx: configuration file /usr/local/nginx/conf/nginx.conf test is successful
Jun
12
comment Have a server, need to figure out a method of backup
Sure, I guess I'm just surprised people still use tape as a storage medium.
Jun
12
comment Have a server, need to figure out a method of backup
Why would you use tape in the days of disk?
Jun
11
comment Unable to start auditd
Thanks, there is no auditd folder in /var/run and I am wary of editing the permissions of the /var/run folder as google assures me they are set for a good reason. Shouldn't it be running as root?
Jun
10
comment Kernel appears to have no modules
I wasn't clear enough, yum reinstall kernel returns Package(s) kernel available, but not installed. so my current kernel version is not in any yum repo. However yum install kernel works and adds the new kernel but doesn't replace the old version even after a reboot.
Jun
10
comment Kernel appears to have no modules
yum reinstall kernel installed a different version and my system isn't picking up on it, still thinks it is the old version. I also think the version it installed doesn't support SMP