how to connect to GCP VM using SSH
ฝัง
- เผยแพร่เมื่อ 1 ต.ค. 2024
- In this tutorial, you'll learn how to seamlessly connect to your Google Cloud Platform (GCP) Virtual Machine (VM) using SSH on both Mac and Windows systems. We'll guide you through generating and using SSH keys, ensuring secure and efficient access to your VM. Additionally, you'll discover how to leverage the same key pair for SFTP transfers using the Cyberduck software.
Key Topics Covered:
Connecting via SSH on Mac:
Generating SSH keys
Configuring SSH for GCP VM access
Connecting via SSH on Windows:
Using PuTTY to generate and manage SSH keys
Configuring PuTTY for GCP VM access
Using Cyberduck for SFTP:
Configuring Cyberduck with your SSH key pair for secure file transfers
By the end of this video, you'll have a solid understanding of how to securely connect to your GCP VM and transfer files using SFTP, enhancing your cloud management skills on both Mac and Windows platforms.
Thanks for the video! Question! is any way you can connect to google vm without creating ssh keys but just with password? let say you away from office.. just ssh usr@12.34.56.78 with password. I try to edit vm sshd_config and add Password Authentication yes but seems not enough. Thanks
I have done that before but not in a google VM. If it is not working for you, google may have some kind of protection that needs to be turned off. When I get a bit of time I will play around with it and see if I can find a solution without the need for a key and just use password.
@@johnchristensen3869 great, thanks!
Hi Bro,
I have a query. Can I create a directory inside a linux VM in google cloud & access it via the public IP ? Can you please help its a request
I am not talking about google bucket. just a folder in linux vm which I need to access via the public IP of the VM
Thanks & regards,
Ya, I made a video on this topic just for you. th-cam.com/video/DwIuXkRILhc/w-d-xo.html
@@johnchristensen3869 Thanks bro