AIX:HMC Copy public key: Difference between revisions

From RoggeWiki
Jump to navigation Jump to search
(Created page with 'Use the following command to add the public key to the authorized_keys file: ssh userid@hostname "mkauthkeys –add '<the key string from $HOME/.ssh/id_dsa.pub>'" Use the follo…')
 
No edit summary
 
Line 1: Line 1:
Use the following command to add the public key to the authorized_keys file:
Use the following command to add the public key to the authorized_keys file:
  ssh userid@hostname "mkauthkeys –add '<the key string from $HOME/.ssh/id_dsa.pub>'"
  ssh userid@hostname "mkauthkeys –-add '<the key string from $HOME/.ssh/id_dsa.pub>'"


Use the following command to delete an entry from the authorized_keys file:
Use the following command to delete an entry from the authorized_keys file:
  ssh userid@hostname "mkauthkeys --remove '<the key string from $HOME/.ssh/id_dsa.pub>'"
  ssh userid@hostname "mkauthkeys --remove '<the key string from $HOME/.ssh/id_dsa.pub>'"

Latest revision as of 09:01, 23 June 2014

Use the following command to add the public key to the authorized_keys file:

ssh userid@hostname "mkauthkeys –-add '<the key string from $HOME/.ssh/id_dsa.pub>'"

Use the following command to delete an entry from the authorized_keys file:

ssh userid@hostname "mkauthkeys --remove '<the key string from $HOME/.ssh/id_dsa.pub>'"