Anyone did encounter this issue with `@pulumi/comm...
# general
f
Anyone did encounter this issue with
@pulumi/command
on google cloud platform vm with
tls.PrivateKey
Copy code
apollo--production--gcp--europe-west4--command-1 (command:remote:Command)
error: ssh: handshake failed: ssh: unable to authenticate, attempted methods [none publickey], no supported methods remain
Login on aws with same key works. Also login to google cloud platform with terminal works. Anything special here to consider?
b
@fancy-spoon-46046 this doesn't look related to google cloud, it looks like your remote instance doesn't have a relevant/valid public key installed on it
f
@billowy-army-68599 it should have it. (since I can login via terminal from my local computer)
Copy code
metadata: {
  'enable-oslogin': 'false',
  'ssh-keys': sshKey.publicKeyOpenssh.apply((v) => `admin:${v}`),
},