How to generate the SSH public key for GitHub under Windows:1. Install git and open git Bash2. Type the command: ssh-keygen-t rsa-c "[email protected]" "[email protected]" is a github account3. Remind you to enter the name of the key, such as Id_rsa4. Generate two files unde
We mentioned in the previous section how to package a hybrid application. So when we pack, we need to publish, the release needs to use a different key, then do these key how to generate it. 1. Use the Keytool command provided in the JDK to generate a signing certificate
Of course, when you use this command, please add
1. Generating the public keyFirst check the native public key:$ CD ~/.sshIf prompted: No such file or directory indicates that you are using Git for the first time. If you are not using it for the first time, do the following to clean up the original SSH key.$ mkdir key_backup$ cp id_rsa* key_backup$ RM id_rsa*To generate a new
1. See if you already have an SSH key: CD ~/.sshIf there is no key then there will be no such folder, there is a backup to delete2. Survival key:
$ ssh-keygen-t rsa-c "your Mailbox"Press 3 to enter, the password is empty.
Your identification has been saved In/home/tekkub/.ssh/id_rsa.Your public
Tutorial: http://www.cnblogs.com/getherBlog/p/3930317.htmlSeveral commands are used:Keytool-genkeypair-alias certificatekey -keyalg rsa-validity 7-keystore Keystore.jksKeytool-export-alias Certificatekey-key Store Keystore.jks-rfc-file selfcert.cerKeytool-Import -alias certificatekey-file selfcert.cer-keystore Truststore.jksWith administrator privileges, enter the appropriate content, these three commands
(1) ssh-add ~ /. Ssh/id_rsa [Exception in key addition]
SSH key-gen-t rsa [generate public key]
The generated public key file is ~ by default ~. SSH/folder
PS: The generated public key
Transferred from: http://blog.163.com/tqq_0716/blog/static/7690741220110611350344/Server a:192.168.1.1Server b:192.168.1.2Server A:Configuration:Ssh-keygen-b 2048-t RSA#这里的-B 2048 is the length of the key encryption, it is best to set a large point, there is a message that the United States has hackers to solve the SSH key to crack.#http://bbs.yuloo.com/thread-86
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.