Excerpt a On the 192.168.42.142 machine.1) Run: ssh-keygen-t RSA2) Then take two returns (select default)3) Run:Ssh-copy-id-i/root/.ssh/id_rsa.pub [email protected]or ordinary users:Ssh-copy-id [email protected]4) Re-enter the root password on the 16
The new server OS uses the Ubuntu Server version, which is a lot different from the familiar CentOS.
In peacetime work, we log on to the server, is generally the way to use the SSH password. In fact, there is another way, that is, through the SSH
The SSH full name Secure Shell, as the name implies, is a very secure shell, and the SSH protocol is a protocol developed by the network Working Group of the IETF (Internet Engineering Task force). SSH's main purpose is to replace the traditional
Linux SSH Usage depth resolution (key login details)The SSH full name Secure Shell, as the name implies, is a very secure shell, and the SSH protocol is a protocol developed by the network Working Group of the IETF (Internet Engineering Task force).
The SSH full name Secure Shell, as its name implies, is the meaning of a very secure shell, an agreement developed by the network Working Group of the IETF (Internet Engineering Task Force). SSH's main purpose is to replace the traditional Telnet
Key Login Step (password-free login)SSH Login provides two kinds of authentication methods: password (password) authentication method and key authentication method. where password (password) authentication method is one of our most commonly used,
Common linux Services-SSH and ssh public key authentication 1. ssh (secureshell) is installed by default. the package name is openssh, [root @ localhostlogs] yuminstallopenssh & hellip; & common linux Services-SSH and ssh public key authentication 1.
1, execute command and script on remote host based on password and secret keySsh-t IP "CLI or shell.sh";The 2,C program implements the above functions--based on password-lessPorting the simple C program above to a different system to use the
1. Create a public key on the local machineOpen the Universal terminal, execute the following command, ignoring all the output, all the way to enter the cheerful.Ssh-keygen-t rsa-c ' Your [email protected] '-t specifies the key type, which is RSA
The main operation of this writing is very detailed: http://space.itpub.net/26686207/viewspace-742502, excerpt as follows:
Setting up SSH for H1 H2 H4
H4
[Grid@h4 ~]$ ssh-keygen-t RSA uses RSA encryption algorithm to generate key pair
Generating
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.