2. Ssh_-free connection on Linux installation

Source: Internet
Author: User

Linux Open SSH Service

    1. First update the source

sudo apt-get update

    1. Installing the SSH Service

sudo apt-get install Openssh-server

    1. Detect if it is started

Ps-e | grep ssh

See the word ssh, instructions have been started, if not started manually

/etc/init.d/ssh start

    1. Configure Ssh-server, the configuration file is located in/etc/ssh/sshd_config, the default port is 22, for security, general customization to other ports, and then restart

Sudo/etc/init.d/ssh Resart

In Windows, log in to the virtual machine using putty or SSH Secure shell

(Source: http://www.cnblogs.com/fengbeihong/p/3307575.html)

For example, when 192.168.14.138 links to 192.168.14.129,

SSH 192.168.14.139

But you want to enter the other person's password

This time need to be free of secrets:

Both machines are operated

SSH-KEYGEN-T RSA

Enter directly when encountering the need for output.

Then on each of the two machines:
scp.ssh/id_rsa.pub [Email Protected]:/home/hadoop/.ssh/authorized_keys

2. Ssh_-free connection on Linux installation

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.