SSH password-less remote login to Linux host

Source: Internet
Author: User
Tags scp command scp command in linux

SSH password-less remote login to Linux host

SSH (Secure Shell) is a security protocol designed for remote login sessions and other network services.

With SSH, You can remotely log on to other Linux Hosts, but you need to enter a password. If you log on to 10.3.93.213, you must enter a password.

To achieve password-less logon, you can use the ssh-keygen command to generate a public key, and then copy the public key to the host to be remotely logged on.

Enter the ssh-keygen command and press enter three times in a row.

Go to the. ssh folder and you will see two files generated:

Id_rsa.pub is the public key. Use the scp command to copy it to the. ssh folder 10.3.93.212.

If the authorized_keys file of 10.3.93.212 already exists, copy id_rsa.pub and run cat id_rsa.pub> authorized_keys.

SSH 10.3.93.212 again. You can log on without a password.

 

Configure scp to transfer files between Linux and Unix without a password

Cp/scp command + scp command in Linux

CentOS cannot use scp command Solution

Copy files between two Linux Hosts using scp

SSH password-free login configuration in CentOS 6.0

How to Improve the SSH login authentication speed of Ubuntu

Enable the SSH service to allow Android phones to remotely access Ubuntu 14.04

Configure and manage the SSH service on Linux

Basic SSH tutorial

This article permanently updates the link address:

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.