Mac. SSH Key acquisition

Source: Internet
Author: User

Mac system began to have installed for us SSH if not installed, first installed; this is all over the Internet.

Open Terminal: $ ssh-v

View SSH version

OPENSSH_6.2P2, Osslshim 0.9.8r 8 DEC 2011

USAGE:SSH [ -1246AACFGKKMNNQSTTVVXXYY] [-B bind_address] [-c Cipher_spec]

[-D [Bind_address:]port] [-E Escape_char] [-F ConfigFile]

[-I. PKCS11] [-I. Identity_file]

[-l [Bind_address:]port:host:hostport]

[-L login_name] [-M Mac_spec] [-O ctl_cmd] [-o option] [-P Port]

[-R [Bind_address:]port:host:hostport] [-S Ctl_path]

[-W Host:port] [-W Local_tun[:remote_tun]]

[[Email protected]]hostname [command]

This indicates that SSH has been installed,

Open Terminal, $ ssh-keygen all the way under enter.

The build will have a. sh file under the current user name.

View. SSH

$ ls-a ~/.ssh by searching the directory

Id_rsa id_rsa.pub

Open the Id_rsa.pub file with the required SSH key.

The above is reproduced content

Login website Click Add SSH key to copy to text box

Mac. SSH Key acquisition

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.