Get hands-on experience with 20+ free Google Cloud products and $300 in free credit for new customers.

Ssh issue while connecting to vm

Hi,

im trying to ssh to vm through console, it works sometimes and after 2-3 hours it doesn’t connect, when I checked the logs it showed error as “non_windows_accounts.go:213 Invalid ssh key entry.  Can someone please help me on this issue

1 1 1,076
1 REPLY 1

Hi @lawrencenelson ,

Thank you for helping me on this , I applied the 1 & 2 steps since I was able to ssh into that machine , but still that user facing the same issue.

Below is the error:

Updating keys for user balavan_1

XMT: solicit on ens5, interval 113210

ERROR non_windows_accounts.go:213 Invalid ssh key entry - expired key: balavan_1: 

Removing user balavan_1

Adding existing user balavan_1 to google-sudoers group

updating keys for user balavan_1