Via putty
If you are in windows machine. I highly recommend this method. Steps:
- Add host, port and chose connection type in putty
- click open in lower right
- a console will appear.
- First input username.
- push enter.
- input password
- push enter.
- !!! Yehey you are logged in!!!
Via ssh command in any linux based server
steps:
- Open terminal(cmd)
- input the following command:
ssh username@host
. ie:ssh cliff@8.8.8.8
- The console will ask for credentials.
- First input username.
- push enter.
- input password
- push enter.
- !!! Yehey you are logged in!!!
Directory you might be interested to explore: (asuming that you are using LAMP)
- site configurations:
- /etc/apache2/sites-available/
- /etc/apache2/sites-enabled/
- site root directory
- /var/www
Useful commands in linux :
each command will not be explained in detail. Use the --help
tag instead to see detailed explanation, parameters and use case. ie cd --help
, ‘pwd –help’
passwd
- change password of current user
pwd
- Print the name of the current working directory.
cd
- Change the current directory to DIR.
mv
- move a file from source to destination
cp
- copy file from source to destination
ls
- list down all directory and files in the current directory
ls -la
gives a lot more info 😀
ssh
- remove login
vi
- open the
vi
editor.
- open the