Resolve "unable to connect to the VM on port 22" error - GCP VM

  Рет қаралды 3,740

TechTrapture

TechTrapture

Күн бұрын

Пікірлер: 14
@haribolanil
@haribolanil Жыл бұрын
Hi Bro, i have created a VM in GCP which is having public ip, that is not mapped with any vpc, i have generated RSA key using putty gen and used that in vm, but when i try to connect that vm, unable to connect, if i would create firewall rule, will it work ?
@techtrapture
@techtrapture Жыл бұрын
Hi Anil You cannot create a VM without any VPC, if you did not assign Any VPC it will use the default vpc. So you need a firewall in the default vpc. And use ssh option in console or gcloud command to login
@haribolanil
@haribolanil Жыл бұрын
@@techtrapture Yeah I did that, it worked for the browser ssh, but for remote ssh, it is not working
@haribolanil
@haribolanil Жыл бұрын
@@techtrapture I am using putty gen to create ssh key pair and then trying to ssh using private key file with ppk format, I reach to login as, when I apply username it shows no supported authentication methods available
@techtrapture
@techtrapture Жыл бұрын
Read the documentation about oslogin features. You might need some additional permission or metadata
@haribolanil
@haribolanil Жыл бұрын
@@techtrapture It worked, I was able to do vpc peering and select customized subnets and connectivity was ok
@mtalhakhalid1679
@mtalhakhalid1679 Жыл бұрын
didnt work i did this what else are my options
@techtrapture
@techtrapture Жыл бұрын
Can you let me know what you are doing? Creating VM and trying to login?
@mtalhakhalid1679
@mtalhakhalid1679 Жыл бұрын
@@techtrapture i did create vm and launch first time it work fine ogin to ssh net time i got same error then i follow your ut i got same issue again cant login ssh
@chenenou1239
@chenenou1239 2 жыл бұрын
oh my god thanks bro ur god!!!
@techtrapture
@techtrapture 2 жыл бұрын
Thank you so much , I am just helping , Not God!!
What is Ephemeral and static IP in GCP  | Google Cloud
9:32
TechTrapture
Рет қаралды 1,9 М.
SSH Error - Resolve "Connection Refused" On Port 22 Error
4:32
Rabi Gurung
Рет қаралды 72 М.
#behindthescenes @CrissaJackson
0:11
Happy Kelli
Рет қаралды 27 МЛН
Hilarious FAKE TONGUE Prank by WEDNESDAY😏🖤
0:39
La La Life Shorts
Рет қаралды 44 МЛН
IAP in GCP - Login without external IP using Identity-Aware Proxy
20:43
Google Cloud Platform (GCP) - How To SSH into your VM
16:03
Cloud Monkey
Рет қаралды 90 М.
SSH into Remote VM with VS Code | Tunneling into any cloud | GCP Demo
10:26
Google Cloud - Recovering SSH access
13:57
Erik Fredericks
Рет қаралды 5 М.
Connect via PuTTY to Linux VM on Google Cloud
7:25
storagefreak
Рет қаралды 78 М.
Part5: Connect to your VM using serial Port #VM #GCP
4:06
VeryLazyCoders
Рет қаралды 2,4 М.
How to create #Firewall rule and assign firewall rule to VPC in GCP
8:58
The Kubernetes Homelab That Prints Job Offers - 2025
18:40
Mischa van den Burg
Рет қаралды 38 М.
#behindthescenes @CrissaJackson
0:11
Happy Kelli
Рет қаралды 27 МЛН