Infrastructure/ReplacingSSHKey

From FedoraProject

< Infrastructure(Difference between revisions)
Jump to: navigation, search
(Imported from MoinMoin)
 
m (Categorize)
 
(2 intermediate revisions by 2 users not shown)
Line 2: Line 2:
 
If for any reason you need to replace your SSH key in the Fedora Account System, use this procedure:
 
If for any reason you need to replace your SSH key in the Fedora Account System, use this procedure:
  
1.  Generate a new ssh key.  If you select the defaults, this command generates a <code>~/.ssh/id_rsa</code> private key file, and a <code>~/.ssh/id_rsa.pub</code> public key file:
+
# Generate a new ssh key using <code>ssh-keygen</code>.  If you select the defaults, this command generates a <code>~/.ssh/id_rsa</code> private key file, and a <code>~/.ssh/id_rsa.pub</code> public key file
<code> ssh-keygen </code>
+
# Go to https://admin.fedoraproject.org/accounts/
1. Go to https://admin.fedoraproject.org/accounts/
+
# Select 'Login' in the menu on the left
1. Select 'Login' in the menu on the left
+
# Login with your username and password
1. Login with your username and password
+
# Select 'My Account' on the menu at the top
1. Select 'My Account' on the menu at the top
+
# Select 'Edit' on the 'Your Fedora Account' page
1. Select 'Edit' on the 'Your Fedora Account' page
+
# Upload the <code>~/.ssh/id_rsa.pub</code> ''public key file'' that you generated in the first step.
1. Upload the <code>~/.ssh/id_rsa.pub</code> ''public key file'' that you generated in the first step.
+
# Select 'Save'.
1. Select 'Save'.
+
  
 
That's it, you're done.  Remember that the <code>~/ssh/id_rsa</code> private key file should be safeguarded.
 
That's it, you're done.  Remember that the <code>~/ssh/id_rsa</code> private key file should be safeguarded.
 +
 +
[[Category:Infrastructure]]

Latest revision as of 22:21, 8 January 2010

[edit] Replacing Your Fedora Account System SSH Key

If for any reason you need to replace your SSH key in the Fedora Account System, use this procedure:

  1. Generate a new ssh key using ssh-keygen. If you select the defaults, this command generates a ~/.ssh/id_rsa private key file, and a ~/.ssh/id_rsa.pub public key file
  2. Go to https://admin.fedoraproject.org/accounts/
  3. Select 'Login' in the menu on the left
  4. Login with your username and password
  5. Select 'My Account' on the menu at the top
  6. Select 'Edit' on the 'Your Fedora Account' page
  7. Upload the ~/.ssh/id_rsa.pub public key file that you generated in the first step.
  8. Select 'Save'.

That's it, you're done. Remember that the ~/ssh/id_rsa private key file should be safeguarded.