Linux Sever

    How to download file via scp

    To download file using scp you need ssh username, password and host 1. First open terminal and type
    mohit@ubuntu: scp <myusername>@<hostname>:<pathtofile>

    Press enter

    Yes to add to known hosts

    Enter ssh password and done file start downloading to you local

    mohit@ubuntu: ls
    file will be displayed to you

    Where

    <myusername> ssh username
    <hostname> like mohitsharma.net or whatever it is to be
    <pathtofile> file path with filename to download like /var/www/test.sql

    Note: use sudo with scp command if you don't have root permissions

    How to check os name on server via ssh

    To check os name on server via ssh use following command

    [root@cl-t015-3442cl ~]# uname -a

    You can get output like this:

    Linux cl-t094-3442cl .privatedns.com 2.6.18-194.11.3.el5PAE #1 SMP Mon Aug 30 17:02:48 EDT 2010 i686 i686 i386 GNU/Linux

    How to password protect directory on godaddy linux hosting

    Check the detailed explanation here

    http://help.godaddy.com/article/4057

    How to check mail server is working or not

    User login