Skip to content
Discussion options

You must be logged in to vote

Hey @maskudo 👋🏼

  1. of the main user in host machine
  2. the proxmox user

Not sure what do you mean by each "user" here 😅, Let's assume you have privileged "root" and unprivileged "username" OS-level (aka PAM) user accounts on the PVE host.

  ssh {
    agent    = true
    username = "username"
    password = "******"
    node {
      name    = var.proxmox_host
      address = "192.168.1.67"
    }
  }

agent = true means the provider will be using SSH Agent on the machine where you're running terraform from to authenticate over SSH with the PVE host. Do you have the agent up and running with keys loaded?

Also from the doc:

The SSH agent authentication takes precedence over the private_key an…

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by maskudo
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants