Created
February 28, 2012 15:37
-
-
Save cyberswat/1933212 to your computer and use it in GitHub Desktop.
Create a pass-wordless ssh key
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# switch to the jenkins user | |
[root@li220-252:~] su jenkins | |
jenkins@li220-252:/root$ | |
# Generate the key | |
jenkins@li220-252:~$ ssh-keygen -t rsa -C "[email protected]" | |
Generating public/private rsa key pair. | |
Enter file in which to save the key (/root/.ssh/id_rsa): | |
Enter passphrase (empty for no passphrase): | |
Enter same passphrase again: | |
Your identification has been saved in /root/.ssh/id_rsa. | |
Your public key has been saved in /root/.ssh/id_rsa.pub. | |
The key fingerprint is: | |
72:db:5a:77:75:23:c5:58:84:59:14:31:58:52:7c:d0 [email protected] | |
The key's randomart image is: | |
+--[ RSA 2048]----+ | |
| .%&o| | |
| +=.E| | |
| . o.| | |
| . | | |
| . S . .o| | |
| o o ..o| | |
| . o . . | | |
| o . . | | |
| . | | |
+-----------------+ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment