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.

ความคิดเห็น • 6

  • @denisss777
    @denisss777 2 หลายเดือนก่อน

    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

    • @johnchristensen3869
      @johnchristensen3869  2 หลายเดือนก่อน

      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.

    • @denisss777
      @denisss777 2 หลายเดือนก่อน

      @@johnchristensen3869 great, thanks!

  • @anand-nb4bb
    @anand-nb4bb 3 หลายเดือนก่อน

    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,

    • @johnchristensen3869
      @johnchristensen3869  3 หลายเดือนก่อน +1

      Ya, I made a video on this topic just for you. th-cam.com/video/DwIuXkRILhc/w-d-xo.html

    • @anand-nb4bb
      @anand-nb4bb 3 หลายเดือนก่อน +1

      @@johnchristensen3869 Thanks bro