Step 1: Configure ssh-server on the remote Linux machine Edit "sshd_config" file on the remote machine, by running this command: $ sudo nano /etc/ssh/sshd_config Now, make sure you have the below two entries added to “sshd_config” file [Note! “nash” is the username that exists on the remote machine]: # Remote access port Port 22 # User Access AllowUsers nash Step 2: Start the ssh-server on the remote machine, by executing the below command: $ sudo systemctl start sshd Step 3: Working with ssh-clients Option A - Access the remote file system from your local Linux machine using the plan old ssh-client: $ ssh -p 22 [email protected] Option B - Other alternative is a command line based file manager as a ssh-client, this file manager is called Midnight-commander. Midnight-commander (MC) is run from command line itself with the below command: $ mc Now, make use of the MC as a ssh-client. This is done by access the following menu items found in MC "Left > Shell link...". Which then displays a pop-up called "Shell link to machine", now enter the below ssh address: Enter machine name (F1 for details): [email protected] Related resource:
0 Comments
|
AuthorCategories
All
Archives
January 2019
|