Per Chef's documentation, the -p (or --ssh-port) flag should allow me to specify an SSH port, however, the following:
knife bootstrap host.com -x user -P password --ssh-port 5846 -N nodename --sudo
-bash: --ssh-port: command not found
before attempting to connect to port 22. The same is true of "-p". Has anyone come across this, or perhaps caught what I might be doing wrong?
I am running Chef 11.14.6:
$ knife -v Chef: 11.14.6