AIX:HMC Copy public key

From RoggeWiki
Revision as of 14:52, 28 April 2014 by Tom (talk | contribs) (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…')
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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>'"