AIX:HMC Copy public key

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