AIX:HMC Copy public key

From RoggeWiki
Revision as of 09:01, 23 June 2014 by Tom (talk | contribs)
(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>'"