Installing and configuring SSH under VMware + ubuntu16.04 Linux

Source: Internet
Author: User

I installed, configured, and tested SSH under Win7+vmware with two Ubuntu virtual machines.

    1. Install Openssh-server on the server side.
      sudo  Install Openssh-server # seemingly sudo apt-get installs SSH can be installed SSH client+server
    2. Generate the RSA key on the client side (typically the default is installed Ssh-keygen), enter the following command, note: The file name to use the absolute path (can default), passphrase is the use of the secret key login with the password (can be empty).
      Ssh-keygen sudo
    3. Copies the public key generated in the client (by default in ~/.ssh/id_rsa.pub) to the ~/.ssh/authorized_keys of the server.
    4. You can use SSH to log in to the server by running the following command in the client. If the key is generated when the passphrase set, you need to enter the passphrase, if not set passphrase, you can password-free login.
      SSH [Email protected]_ip_address

Installing and configuring SSH under VMware + ubuntu16.04 Linux

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.