Connect via PuTTY to Linux VM on Google Cloud

Поділитися
Вставка
  • Опубліковано 25 сер 2024

КОМЕНТАРІ • 126

  • @TriMarko
    @TriMarko 4 роки тому +6

    I read through the google cloud instructions a good 8 times and it kept failing, got frustrated after around an hour and searched it on youtube to see if there was a tutorial and this was the first result. Fixed in 5 minutes. Thanks

  • @abidekunoladipo911
    @abidekunoladipo911 3 роки тому +7

    This saved me a whole lot of time. Thank you!!!!

  • @samirallahverdi4948
    @samirallahverdi4948 2 роки тому

    Very short time and straightforward explanation. Thanks!

  • @SalmanKhan-bf8lk
    @SalmanKhan-bf8lk Рік тому

    After trying since 3 days, I finally found this vid that helped me. Thanks a lot 😭😭🙌🙌

  • @Calvin_M.
    @Calvin_M. 10 місяців тому

    the best demo so far ngl. Saved so much of my time :)

  • @ericksonjosephsantos8857
    @ericksonjosephsantos8857 3 роки тому +2

    the demo is simple and straight to the point. thanks for the new learnings

  • @hongcai4617
    @hongcai4617 4 роки тому +2

    Thank you this is wonderful vid~I read winscp docs and it hops here and there finanlly I found answer in ur vid~ great thanks!

  • @Praro1
    @Praro1 3 роки тому

    the way you explained it. makes it look easy. Tones of thanks.

  • @kasunrajapaksha6651
    @kasunrajapaksha6651 4 роки тому +2

    Thanks, very informative yet simple. thanks again

  • @genghiskha10Century
    @genghiskha10Century 3 роки тому

    Thanks for giving me a start on GCP since i messed up the initial configuration.

  • @AsheBunny
    @AsheBunny 3 роки тому +1

    Thank you! This really helped me. I’m a newbie in a DevOps bootcamp and this really cleared things up for me

  • @edarcturus1065
    @edarcturus1065 10 місяців тому

    Very detailed. Thank you!

  • @hnmcclain
    @hnmcclain 3 роки тому +1

    Exactly what I needed bro, thanks. Nice, straight, and to the point.

  • @cwilliams9635
    @cwilliams9635 2 роки тому

    This has saved me a great deal of bother today. Thanks for sharing.

  • @claudioestevez61
    @claudioestevez61 4 роки тому

    OMG, the comment is the username! this video is a time saver, many thanks.

  • @MadanBonamukkala
    @MadanBonamukkala 5 місяців тому +1

    Useful info.. Thanks

  • @cenkcamkiran
    @cenkcamkiran Рік тому

    Great explanation. This worked and you saved my time. Thanx!

  • @adamtechdays
    @adamtechdays 2 роки тому

    Superb video. Exactly what i needed. Thanks.

  • @karansahu5326
    @karansahu5326 3 роки тому

    Thank you for the nice and clean tutorial. Much appreciate

  • @konstantinsmirnov9672
    @konstantinsmirnov9672 4 роки тому +17

    Okay, so I wasted like 2 hours of my life today. I had incorrect flag in Metadata settings (make sure its
    enable-oslogin FALSE)
    and when you add the private key make sure that the box "block project wise ssh' is ticked. Thank you! cheers!

    • @pureoption
      @pureoption 4 роки тому

      Thank you for this comment! It helped me a lot. I had the same issue it was not letting me connect! Also Thank you for this video it was fantastic!

    • @MrShooterGamers
      @MrShooterGamers 4 роки тому +1

      Same here! Thanks!!

    • @naveedhassan7399
      @naveedhassan7399 4 роки тому

      You saved my life. thank you so much.

    • @claudioestevez61
      @claudioestevez61 4 роки тому +1

      it can also just not be there (it is probably false by default), I was following the GCP instructions and set this to true, after watching this video I just deleted it and it worked.

    • @tracywhitney541
      @tracywhitney541 3 роки тому +1

      I wasted 2 hours and then watched this video and in despair red this comment.

  • @chetansoni2795
    @chetansoni2795 3 роки тому +1

    I want to thank you very much.. for this which i was looking for

  • @wahidnursidik6101
    @wahidnursidik6101 4 роки тому

    very useful, so smooth, and clear guidance!

  • @woweb3
    @woweb3 4 місяці тому +1

    Thank you!

  • @Galanodell
    @Galanodell 4 роки тому

    Good tutorial, really helped a ssh noob like me. Thanks man!

  • @WhiteB0ss
    @WhiteB0ss 3 роки тому

    Works perfectly for me. Thanks a lot!

  • @CampBlanc
    @CampBlanc 4 роки тому

    Very clear explanation, thanks a lot!

  • @user-mr7bw4cg4v
    @user-mr7bw4cg4v 7 місяців тому

    Thanks! It is a great help!

  • @Julian-tf8nj
    @Julian-tf8nj 4 роки тому

    VERY clear and helpful, thanks!!

  • @yogishbaraskar6844
    @yogishbaraskar6844 3 роки тому

    Great Tips. Saved lot of time.

  • @1000left
    @1000left 4 роки тому

    Thank you !!!! Great video!! GREAT explanation!!!

  • @mingli6482
    @mingli6482 3 роки тому

    You have saved my hours.
    Thanks a lot

  • @mareknieznany2141
    @mareknieznany2141 Рік тому

    Great You deserved of my comment

  • @deadlypizza007
    @deadlypizza007 2 роки тому +1

    Even after I followed all of these steps it says that the server refuses the key.

  • @simonjue6589
    @simonjue6589 3 роки тому

    thank you so much, very well explained

  • @sebsefyu
    @sebsefyu 4 роки тому

    Thanks Tomek. You rule earthlings.

  • @yamani3882
    @yamani3882 2 роки тому +1

    Do you get write permission though?

  • @hamidja1537
    @hamidja1537 Рік тому

    Thanks for sharing

  • @fajarullah5536
    @fajarullah5536 4 роки тому +1

    thanks

  • @kaan3874
    @kaan3874 3 роки тому +1

    4:41 with what shortcut you are available to type that " set bg=dark" ? And how do you SAVE/MODIFY your session in that terminal screen 4:56? With what shortcut?

    • @XDXZIST
      @XDXZIST 8 місяців тому

      esc and insert

  • @pureoption
    @pureoption 4 роки тому

    Great Video - Thank you for this. It help so much! I got myself locked out of WHM/ Cpanel root due to a password change. Making it worse since I had setup IP specific so google browser SSH was blocked because not white-listed thus I needed third party like putty on my white-listed IP to get in! Followed your vid but got stuck key refused then read comment by Konstantin Smirnov must make sure Metadata settings (make sure its
    enable-oslogin FALSE) otherwise key will be refused. Thank you both!

  • @woltron4o
    @woltron4o 3 роки тому

    Great Thanks you video helped me a lot !!!

  • @synthesoul
    @synthesoul 2 роки тому

    I'm not sure. This day and age you might want to refrain from using username and password to login! Just a little insight. Smarter to generate private keys for each device you want to ssh from. It might be extra work, but it's more secure that way.

  • @miglioredroid9446
    @miglioredroid9446 Рік тому

    and how to login with the default google user provided?

  • @sanjuwa2677
    @sanjuwa2677 3 роки тому

    It worked thanks

  • @yodkung6784
    @yodkung6784 4 роки тому +1

    ขอบคุณครับ (thank you)

  • @MrNe8on
    @MrNe8on 3 роки тому

    thankyou very much

  • @heribertovidals8484
    @heribertovidals8484 4 роки тому

    Your video is really usefull thank you

  • @georgegooglicius3106
    @georgegooglicius3106 3 роки тому

    Thank you very very very much!!!!!!!!!!!!!!!!!!!!!!

  • @HasanNaser01
    @HasanNaser01 4 роки тому

    usefull video
    thanks

  • @slawomirszczurek4892
    @slawomirszczurek4892 3 роки тому

    The best, short guide - how do it, thx

  • @joels341
    @joels341 3 роки тому

    THANKS!!!!

  • @heglertissot474
    @heglertissot474 4 роки тому

    Great video, very helpfull, thanks a lot for sharing this...

  • @Bloodyslayer73
    @Bloodyslayer73 3 роки тому +1

    Thank you sir! unlike AWS, Google cloud info is very poor and confusing.

  • @lakshmikanthm4576
    @lakshmikanthm4576 2 роки тому

    Thank god(you)

  • @jimbo88
    @jimbo88 Рік тому

    Perfect

  • @muhammadusmanali2741
    @muhammadusmanali2741 4 роки тому

    Awesome! it worked :)

  • @williampinilla7999
    @williampinilla7999 4 роки тому

    Nice video !! Thanks !

  • @karthikr4185
    @karthikr4185 3 роки тому

    Great Thanks it worked ...

  • @AdamKurniawan
    @AdamKurniawan 4 роки тому

    thank you, very helpful

  • @ecovillaraza2953
    @ecovillaraza2953 2 роки тому

    Love the accent!

  • @markonovkov573
    @markonovkov573 4 роки тому

    Thank you buddy!

  • @mansyurhidayat8958
    @mansyurhidayat8958 4 роки тому

    thanks dude, its work!

  • @jandersonjetto844
    @jandersonjetto844 8 місяців тому

    TKS

  • @shipeixiaoxn3650
    @shipeixiaoxn3650 4 роки тому

    Thanks for sharing.

  • @thebatu89
    @thebatu89 4 роки тому +1

    Hi, i followed your tutorial. But I'm getting error 'server refused our key' when I login with the new user. Any ideas how to fix this?

    • @sebastianlondonomontoya8224
      @sebastianlondonomontoya8224 4 роки тому

      I have the same error, something solution ?

    • @claudioestevez61
      @claudioestevez61 4 роки тому

      I can think of two things that might be causing this, you have the enable-oslogin set as TRUE or you didn't place the username in the comment when creating the key pair (puttygen)

  • @vince2nd
    @vince2nd 3 роки тому

    So Putty was the problem for me... I saved the ip address in Putty (since i would be connecting to the server a lot). but i didnt save the ssh key. So each time i hit load it was loading the empty path. -_______-

  • @musabsayyed7325
    @musabsayyed7325 4 роки тому

    Thank you I finally figured out lol

  • @MrDonald911
    @MrDonald911 4 роки тому

    Thanks for the great explanation ! However, I can't retrieve the files that I have when I connect through google cloud shell, is it normal ?

  • @evanwong4947
    @evanwong4947 4 роки тому

    wasted my whole day Thanks for this awesome video

  • @sahiluppal3093
    @sahiluppal3093 4 роки тому

    unable to ssh 1:14 , firewall rules accept ssh and also my pc. what's the problem?

  • @SkywarsLobby
    @SkywarsLobby 4 роки тому

    thank you!

  • @punch3n3ergy37
    @punch3n3ergy37 3 роки тому +4

    "Server refused our key" Running Ubuntu on it

  • @konstantinsmirnov9672
    @konstantinsmirnov9672 4 роки тому

    I followed the tutorial untill i started to log in @4.14 : after typing the user name i got: "No supported authentication methods available (server sent:publickey). I also tried the tut from sentdex (pythonprogramming) and same result. guess need to do it the google tutorial way, I just wanted to save more time. thanks

  • @getfit9133
    @getfit9133 4 роки тому

    hello what is the code you typed after username on putty and where did you get it from >
    ?

    • @dmnight6704
      @dmnight6704 4 роки тому

      username is : @gmail.com (Enter Without @gmail.com in the username column)

  • @samanthalakmal4027
    @samanthalakmal4027 4 роки тому

    Thanks...

  • @miguelsalas634
    @miguelsalas634 3 роки тому

    Now need enable
    Stackdriver Profiler API guess

  • @taichou3391
    @taichou3391 4 роки тому +1

    Ty

  • @yashabhyankar
    @yashabhyankar 4 роки тому

    When i login with new user, i tyoe new user name in login as.. but then get error as No supported authentication methods available

    • @storagefreak
      @storagefreak  4 роки тому +1

      sounds like your sshd doesn't allow 'password authentication' and you are not using ssh keys to connect. Check out the video for details of how to modify sshd, remember to restart the service :)

  • @sychopathol
    @sychopathol 4 роки тому

    uhmm sir how do i open the machine

  • @erfanzare6465
    @erfanzare6465 4 роки тому

    How do you add root password and login like that?

    • @adilboujibar
      @adilboujibar 3 роки тому

      try to connect to the user and password that you've just created like shown in the video and type : sudo passwd Then you'll be able to change the root password

  • @fuzkyn
    @fuzkyn 3 роки тому

    how do i login to root account using password? I logged in and I went into root with an account but I want to login straight to the root account... how do I Do that without having to type sudo su -

    • @adilboujibar
      @adilboujibar 3 роки тому +1

      try to reconnect to the user and password that you've created and then type : sudo passwd Then you'll be able to change the root password

    • @fuzkyn
      @fuzkyn 3 роки тому

      @@adilboujibar thank, but I don't even remember what 8 was doing back then

    • @adilboujibar
      @adilboujibar 3 роки тому

      Fuzkyn FK Ok. I presume that you followed all the steps in the video but when you tried some root commands, u couldn't type the right root password. So 4 that u can follow the steps I gave u earlier.

  • @oluisba9929
    @oluisba9929 3 роки тому

    Unico que Funciona

  • @techbizlife
    @techbizlife 3 роки тому

    1:30,SSH with password disable for google VM
    4:30, vim /etc/ssh/sshd_config
    I insert
    : set bg=dark
    4:50, PasswordAuthentication yes
    I insert
    :Wq
    5:03,service sshd restart
    5:10,adduser xxx
    5:30,
    exit,root logout
    exit,xxx logout
    5:55,SSH with password succeeded !

    • @MrQuironX
      @MrQuironX 3 роки тому

      But I am new in this I don't know what to press after typing :wq command, I pressed enter and it didn't work, and by last I pressed ctrl+s and it stucked :(

  • @mujtabaalam5907
    @mujtabaalam5907 3 роки тому

    Is your username "adam" supposed to be your google username (which would mean your email is adam@gmail.com) or you local machine's username?

  • @d2m2tryskrassas60
    @d2m2tryskrassas60 4 роки тому

    Not working

  • @d2m2tryskrassas60
    @d2m2tryskrassas60 5 років тому

    fake

    • @storagefreak
      @storagefreak  5 років тому

      Hi @D2m2TrYs - can you be more specific? What do you consider as 'fake' in this video?

    • @d2m2tryskrassas60
      @d2m2tryskrassas60 5 років тому

      @@storagefreak discord server>

    • @d2m2tryskrassas60
      @d2m2tryskrassas60 5 років тому

      @@storagefreak link?

    • @storagefreak
      @storagefreak  4 роки тому

      @@d2m2tryskrassas60 I have to admit I still do not understand what do you find fake in this video. If you are talking about the Virtual Machine I'm connecting to, through-out the video, pay attention that at the end of the video I am deleting this VM. So if you try to connect to the same IP it will simply not work. The purpose of this video is to show how you can modify your own VM in Google Cloud Platform to be able to use PuTTY for the SSH connection.

    • @d2m2tryskrassas60
      @d2m2tryskrassas60 4 роки тому

      @@storagefreak errro :(

  • @douchixxx
    @douchixxx Рік тому

    thanks