I am using:
knife bootstrap public_ip_address --ssh-user user_name —sudo --identity-file ~/.ssh/XXXXX.pem --environment QA --node-name MYSERVER --ssh-port=xxxx
I get the following results:
Node MYSERVER exists, overwrite it? (Y/N) Y
Client MYSERVER exists, overwrite it? (Y/N) Y
Creating new client for MYSERVER
Creating new node for MYSERVER
Connecting to ip_address
Failed to authenticate user_name - trying password auth
Enter your password:
ERROR: Net::SSH::AuthenticationFailed: Authentication failed for user user_name@ip_address@ip_address
I assume the double @ip_address is the problem. Why is it trying to authenticate user_name@ip_address@ip_address instead of user_name@ip_address