Skip to content

Remote Login into Linux Machine

For Remote accessing of Linux PC from Linux PC/Server is required openssh server on destination PC(The Linux PC/Server which we need to take on remote location).OpenSSH is a free open source set of computer tools used to provide secure and encrypted communication over a computer network by using the ssh protocol. Many people, new to computers and protocols, create a misconception about OpenSSH, they think it is a protocol, but it is not, it is a set of computer programs that use the ssh protocol.

Installation of OpenSSH

To install OpenSSH, open a terminal and run the following commands with superuser permissions.

On Ubuntu/Debian/Linux Mint

Bash
sudo apt-get install openssh-server openssh-client

On RHEL/Centos/Fedora

Bash
yum -y install openssh-server openssh-clients

Login Procedure - Windows

1.Download PuTTY windows application if you do not have it._Open Putty and select ssh. 2.Provide the host name (or remote server's DNS name or remote IP) * hostname: technobureuau.com 3.Enter your identity information * username: Type _your username and click Enter. * _password: Type _your password and click Enter. ( Nothing would show up while entering password, so simply enter it.)__ 4.Download and install WinSCP or FileZilla application if you do not have it for file Exchange between from your windows to linux pc/server.

Login Procedure - Linux

For Remote accessing of Linux PC from Linux PC/Server is required openssh client on source PC(The PC which we using to take another Linux PC/server),

  • To log-in into the remote Linux shell, open terminal and type:
Bash
ssh -X <your_username>@<host_name>

(You will be asked to enter the password, simply type it and press enter.)

  • To copy files To the server run the following on your workstation or laptop:
Bash
scp -r <path_from_directory> <your_username>@<host_name>:<path_to_directory>
  • To copy files From the server run the following on your workstation or laptop:
Bash
scp -r <your_username>@<host_name>:<path_from_directory> <path_to_directory>

Last update: June 23, 2022
Created: June 23, 2022