简体   繁体   中英

Google Cloud Fedora ssh connection problem

I was created vm fedora 33 on google cloud but i can't connection with ssh. Actualy i can connect debian vm's but can't only fedora vm's.

Ssh error is

Permission denied (publickey,gssapi-keyex,gssapi-with-mic).

also my public key type is rsa.

  1. Generate key pair: ssh-keygen -t ed25519
  2. Copy public key to instance metadata - link .
  3. Restart the instance.
  4. Connect using new key: ssh -i <KEY_FILE> core@<INSTANCE_PUBLIC_IP>

You can find more information here .

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM