New on LowEndTalk? Please Register and read our Community Rules.
All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.
All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.
Comments
yes, you can sure do that. i'll actually make a web interface to enable/disable ssh on my 48mb ram vps to save memory.
i had to remove everything including ssh to get kloxo to install fully on a 128mbps box with no burst. so yes its possible and runs well really
Sure, nothing wrong with that.
Thank you!
Wouldn't risk doing that though, Even if its possible: you will be relying on the console of your VPS host. If there is a problem with it, your in bad luck ;-)
Yes. Just run "service ssh stop"
It will add more security to the system
Not really if he only allows a user with a difficult password in a high port.
The only reason I do this is because my vps has 48mb ram ;P
Host a website on nokia symbian phone or what?
That's a great idea!!
This is why hosts should have prebuilt kloxo templates that use 16 MB of RAM (like ours or buyvm's or hostigations)
Simple, just make a PHP script to stop and start the service
<?php if(!$_GET['p']=='password') die('wrong pass'); if((!$_GET['sat'] =='start') && (!$_GET['sat']=='stop')) die('internal error'); if(system('service ssh '.$_GET['sat'])) echo 'yah'; ?>
PHP needs root and I did not test this code, just tossed it together as an example :P.
@Derek that's not going to work. You can do it with sudo actually. if anyone wans i can make a script.
Another idea, is to use cron to activate it certain times of the day... seems like a good thing isnt it
yeah but if you want to do something quickly you're going to wait long.
i will write a tutorial on doing this tomorrow.
i will write a tutorial on doing this tomorrow.
Or access the console
don't worry, I don't care. I was asking because I use that VPS for VPN, I dont even care about RAM
ah ok. anyway i will do a tutorial for people who might be interested.
So, it works
@bluevm yeah after the install and things are tweaked it uses much less. would be a useful template for providers to host
It'd work, I'd also look into something that does an additional check whenever bash is run just because if your control panel user is ever compromised, your console user could be reset.
Francisco
I guess you could just run
If it returns anything, send an email, if it doesn't then don't. Would be a fairly easy to make PHP script.
Then you know if someone is logging into your VPS via the console, however your also be able to spot when your host snoops.