0

I am trying to perform "knife bootstrap" for registering my node to the workstation.

I have vm's on azure. (inbound ports are enables) I am using this command to do the knife bootstrap :

"knife bootstrap <public-ip> -U <username> -P <password> --sudo -N <vm-name>"

While setting up the ubuntu vm, I set authorization via username and password.

It doesn't let me do the task and the error message is:

"WARN: [SSH] connection failed, terminating (#<Net::SSH::AuthenticationFailed: 
 Authentication failed for user sysadmin@172.174.142.148>)
 ERROR: Train::Transports::SSHFailed: SSH session could not be established"
Sydney_dev
  • 1,448
  • 2
  • 17
  • 24
  • A bit surprised you auth to Azure VM with a password, don't you need a private key authentification ? – Tensibai Jun 02 '23 at 15:07

0 Answers0