SSH

‘SSH’ stands for “Secure SHell”, this will allow you to access your Linux Server / Desktop by sitting anywhere inside the globe.

1) Install ssh

$ sudo apt-get install ssh

2) Know your ip – address

$ sudo ifconfig | grep inet 

inet addr:192.168.1.2 Bcast:192.168.1.255 Mask:255.255.255.0
inet6 addr: fe80::f2de:f1ff:fecb:aa63/64 Scope:Link
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host

3) Check status of firewall if you have. Since this may create problem with port when accessing SSH etc. Hence disable it, if its ON.

$ sudo ufw status 

Status: inactive

Mine firewall is ufw and it is in inactive stage, so no problem.

4) Just download and install any terminal emulator, at remote computer from here. Remote computer may have any kind of operating system. In my case, it Windows XP.

5) Open putty,

putty1

enter ip address of your desktop or server and hit open

putty22

And you can access, your linux desktop / server remotely.

FTP

Even though, you can access your system using SSH, but you cannot upload / download any files to / from your remote system. This can be achieved by FTP – File Transfer Protocol.

1) install vsftpd – very secure file transfer protocol daemon

$ sudo apt-get install vsftpd

2) edit /etc/vsftpd.conf

$ sudo vim /etc/vsftpd.conf

uncomment, local_enable=YES – this allows all users to access ftp to remote system.

write_enable=YES – this allows all users to upload files using ftp to remote system.

3) restart vsftpd service

$ sudo service vsftpd restart

Stopping FTP server: vsftpd.
Starting FTP server: vsftpd.

4) Just download and install any ftp client, at remote computer from here. Remote computer may have any kind of operating system. In my case, it Windows XP.

5) Open filezilla,

filezilla

enter ip address, user, and password of remote computer and connect.

You can access files of remote system, just double click on files to upload and download files at remote system.

Enjoy…!

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s