Instead of using SSH password, I prefer to use SSH public/private key feature. It’s safer for my work environment. Does knife have an option to use an already installed private key between the workstation and the node?
yes of course -
knife ssh -i /path/to/private/key …
knife ssh --help
knife --help does not show the -i option. It seems to be highly incomplete. The knife on-line documentation shows it and seems to be complete.
you need to type the complete command:
“knife ssh --help” not “knife --help” to show ssh options
also might be subject to the version of knife.
This is correct, nearly every knife command has options that are not relevant to other commands and there are lots of commands so
knife --help just gives you the universal options and list of commands.