Its easy to access your linux account exactly sitting in-front of the personal computer. But how about accessing your linux account from another place which is far from the personal computer. Follow below steps to access your linux account.
Definition
Target Computer: the computer to which you want to connect or we can say your personal computer. <refer figure 1>
Source Computer: The computer from which you want to access your target computer. <refer figure 1>
Requirement:
1. Target computer must be turned ON
2. Target computer must have internet connection
or
Source computer must be accessible from target computer through LAN, WAN or in anyway.
3. Software requirement for Source Computer :
Putty: which can be downloaded from below link
For windows: http://tartarus.org/~simon/putty-snapshots/x86/putty.exe
For Mac & Ubuntu : Use “Terminal” . // No third party software is required
4. Software requirement for Target Computer :
openssh-server : openssh-server must be install on your personal computer to accept the connection from another computer present remotely
Definition
Target Computer: the computer to which you want to connect or we can say your personal computer. <refer figure 1>
Source Computer: The computer from which you want to access your target computer. <refer figure 1>
![]() |
Figure 1: Accessing target Computer from Source computer |
Requirement:
1. Target computer must be turned ON
2. Target computer must have internet connection
or
Source computer must be accessible from target computer through LAN, WAN or in anyway.
3. Software requirement for Source Computer :
Putty: which can be downloaded from below link
For windows: http://tartarus.org/~simon/putty-snapshots/x86/putty.exe
For Mac & Ubuntu : Use “Terminal” . // No third party software is required
4. Software requirement for Target Computer :
openssh-server : openssh-server must be install on your personal computer to accept the connection from another computer present remotely
Steps:
For Target Computer
- We assume that Ubuntu is installed on target computer
- Install openssh-server by executing below command in the “Terminal”
sudo apt-get install openssh-server3. follow below link to configure the openssh-server
http://blogchinmaya.blogspot.com/2016/06/configure-openssh-server-in-ubuntu.html
Thats all, its done. Now you can browse the your filesystem using common linux command.
For Source Computer
For Windows
S1: download and install Putty for windows from below link.
S2: Open putty
S3: Here, it needs 2 main information.
S3.1: Enter the address of the target computer
S3.2: Enter the ssh port number on target computer
S4: Select "SSH" radion option
S5: now click on "Open" button to connect to the target computer
S6: Now enter your username and password
For Mac & Linux (ubuntu)
S3.1: Enter the address of the target computer
S3.2: Enter the ssh port number on target computer
S4: Select "SSH" radion option
S5: now click on "Open" button to connect to the target computer
![]() |
Figure 3: Putty Login window |
For Mac & Linux (ubuntu)
S1: open Terminal (FOR MAC)
S1.1 : press <command> + <Space>
S1.2 : search for “terminal”
![]() |
Figure 4: Open terminal in mac |
S1: Open Terminal (for Ubuntu)
S2: gather following information
S2.1: Account name and password in target computer
S2.2: address of the target address
S2.3: port, on which ssh server is running on the target computer
S3: enter following command in terminal
e.g.
You can open the trminal by pressing < ctrl > + < alt > + < t >
S2: gather following information
S2.1: Account name and password in target computer
S2.2: address of the target address
S2.3: port, on which ssh server is running on the target computer
S3: enter following command in terminal
ssh <username>@<address> -p <port number>
Now enter your passworde.g.
Thats all, its done. Now you can browse the your filesystem using common linux command.
No comments:
Post a Comment