Hi guys, I have finally get my dedicated server (suggested by Saad). I have this question: 1- what is the use of SHH? 2- what can i do with SHH? 3- can i view the Server Memory usage/harddisk space? 4- can i remote log in to my dedicated server? (it's linux running on centos) -thanks mate -toby
SSH is the remote login features you're looking for, download PuTTy which is a free windows secure shell client. You can do anything with ssh that you can do sitting infront of a *nix terminal. Some of the most common used ssh commands and some instruction
1- SSH is used to Remotely login to server 2- You can manage your server and settings on your own through SSH ( provided you have good knowledge of Linux ) 3- To check Disk Usages : use "df -h " and for free memory "free -m " . 4- Through SSH client like PuTTY , Secure Shell etc .
Just add su acess to other user. then login to ssh through that user and then type -su to go in root Saad
You need to add a new user to the system first before you do can su Create user : useradd <newuser> Change pass : passwd <newuser> Any control panel? If you do not know how to manage a server, I would suggest that you get someone to manage for you incase anything goes wrong
more generally 1. with SSH you can do absolutely ALL you can do on your Linux local machie using your shell ( bash or so ) 2. since I moved recently to a root server - I have published a few important root server sys admin steps in my blog - may be some of them may help you if you have the choice to have the same Linux dist on your local machine - even as dual boot if needed - do it - it helps you to fully understand your remote server and also helps you to practice locally before doing things onliine on your server. it also helps you to simulate ANY software you want to install remotely first on your local machine or to track bugs locally if remote you have a problem later on. for the login I have preferred to auth by server key only and disable any password login. it definitely is the most secure way to connect. one point of caution remember taht specially during the first days of months of your new server - some of your remote scripts may NOT YET be fully secured - hence open to possible hacker abuse . hacker DO knock at your door during the first hours of your server experience. until i had all finish remotely - I always chmod 000 all folders of any installed SW until all was truly finish and fully secured. a verification in my logfiles proved me right - i found repeated attempts to enter thru partially installed scripts ... similar warning for the new mail server settings make sure you are no open relay if you use postfix - there is an option in your postfix config to send BCC a copy of each mail in or out that might be a good idea until all mail server is secured as well. when working on your remote machine at least during the first weeks or months have a few consoles logged in via SSH and run life the most important log files to monitor any errors, hackers and problems log files such as (with the linux shell command below provided ) tail -f /var/log/warn tail -f /var/log/messages tail -f /var/log/apache2/error_log tail -f /var/log/apache2/access_log also when login in via SSH - use "screen" on each console if for any reason you get disconnected that console continues remotely and can be reattached when reconnecting to your server again via SSH reattach would look like 1. you see what screen logins are active by entering in your shell who then you may see something like > who root pts/7 Jan 9 02:02 (202.69.184.42:S.0) root pts/8 Jan 9 02:03 (202.69.184.42:S.0) root pts/9 Jan 9 02:03 (202.69.184.42:S.0) root pts/10 Jan 9 02:03 (202.69.184.42:S.0) root pts/11 Jan 9 02:03 (202.69.184.42:S.0) root pts/12 Jan 9 02:03 (202.69.184.42:S.0) root pts/13 Jan 9 02:04 (202.69.184.42:S.0) above is screen attached if screen is detached then you reattach the lost screen connections to your local shell console using a syntax like screen -r pts-7.your_servername screen -r pts-8.your_servername screen -r pts-9.your_servername etc for each screen that is listed in your "who" output