Remote Development with VSCode (SSH)

Sdílet
Vložit
  • čas přidán 11. 09. 2024

Komentáře • 107

  • @gw8562
    @gw8562 Před 2 lety +6

    Susan, I learned a lot from you in Harvard Extension and I am happy to see you on CZcams. Thank you for your clear, concise explanations! I use VSCode quite often and it was interesting to learn about this approach to development.

    • @codewithsusan
      @codewithsusan  Před 2 lety +3

      Good to see former students here - thanks for watching! :-)

  • @mnemonic6502
    @mnemonic6502 Před rokem +1

    Thank you Susan, a perfect straight forward explanation without the geek waffle

    • @codewithsusan
      @codewithsusan  Před rokem

      Never heard the term geek waffle before - love it 😄

  • @gostark
    @gostark Před rokem +1

    Nice, much improved remote coding over the 90s based alternatives

  • @pguid
    @pguid Před měsícem

    Thank you. This tutorial helped me get up an running quickly. I am now using vscode to connect to an ec2. on aws, to run terraform remotely.

  • @coolmaneden
    @coolmaneden Před rokem +1

    Hi Susan, thank you so much, this tutorial is very clear and especial for those useful setting for slow ssh connection.

  • @jiaqint961
    @jiaqint961 Před rokem +1

    thank you for making such easy to follow tutorial.

  • @anuragray6924
    @anuragray6924 Před rokem

    This is the quickest yet most clear video I have got for setting up vscode for remote development. Thank you so much. I wasted so much of time following other videos. But your video saved my day. :)

    • @codewithsusan
      @codewithsusan  Před rokem

      Thanks for the note, Anurag. Glad you found it helpful. :-)

    • @sharriceowens913
      @sharriceowens913 Před 11 měsíci

      correct me if im wrong but isnt this so that you can open up your code on another computer to keep working on it.. i cant seem to get it to open the file part..i get to the part where it shows the host name but thats it

  • @michaeljacobs5042
    @michaeljacobs5042 Před 2 lety +1

    Thanks for making these videos. You helped me get up and going.

  • @vitusyu9583
    @vitusyu9583 Před 8 dny

    Thanks for your illustration!

  • @thefullstackoverdose
    @thefullstackoverdose Před 11 měsíci

    Great lesson i always refer to it when Im setting up my VsCode on my new machines

  • @nolodinnolodin
    @nolodinnolodin Před rokem +1

    auto like and subscribe, thank you for your video. You explain it very clearly and not wasting a single second to talk about things we can read online. Nice content! please keep doing it :)

  • @theuser810
    @theuser810 Před 2 měsíci +1

    Thanks, your tutorial was right on point

  • @Novacification
    @Novacification Před 5 měsíci

    I'm trying to host my dev environment on my NAS (Unraid), so I don't have to start over everytime I reinstall and get the added redundancy of a parity disk. Thank you so much for this very informative and well put together guide on remote development. Definitely one for the dev playlist.

  • @jerrynyi9231
    @jerrynyi9231 Před 2 lety +1

    Thank you for sharing your knowledge . I appreciate it :)

  • @shadrackabely1013
    @shadrackabely1013 Před rokem

    You are really one of the best out here keep it up

  • @seferideveloper6933
    @seferideveloper6933 Před 8 měsíci +1

    The best video about it! Thanks...

  • @itseletronica1406
    @itseletronica1406 Před rokem +1

    Thanks for your content, is very helpfull. Gonna test this one and back later to comment my results. Thanks

  • @bulelanibotman
    @bulelanibotman Před 2 lety +1

    i love your content, would love to see more and more playlists

  • @user-kq1ow8le8q
    @user-kq1ow8le8q Před 11 měsíci

    This is great, making my life so much easier

  • @SuperAlfaisal
    @SuperAlfaisal Před rokem +1

    If i want save a file but it left "Failed to save 'test.js' Unable to write file

  • @Showmatic
    @Showmatic Před rokem +1

    thanks, this was extremely useful

  • @harist6950
    @harist6950 Před rokem

    Many new things for me as a beginner to learn. Thank you!
    subcribed

    • @codewithsusan
      @codewithsusan  Před rokem

      The learning never stops! :-) Thanks for watching

  • @abdiag603
    @abdiag603 Před rokem

    Very helpful. Thanks Susan

  • @sandeepsabat6254
    @sandeepsabat6254 Před rokem

    Perfectly Explained

  • @mccrightproperties3365

    THank you! Finally, a solution that works!

  • @carlocarlini1388
    @carlocarlini1388 Před rokem +1

    i love your content, Tnx!

  • @muhammedhashim7350
    @muhammedhashim7350 Před 2 lety +1

    thank you for this video

  • @MeerakZigang
    @MeerakZigang Před 2 lety +1

    thank you for this video :)

    • @codewithsusan
      @codewithsusan  Před 2 lety

      No problem, Karim! Let me know if you try remote dev and have any questions.

  • @ChrisFredriksson
    @ChrisFredriksson Před rokem

    This is a video I wanted to see a few years ago! I've tried VS Code a couple of times, but it just isn't working as I want it to. Especially with remote connections. What I'm using today is the last version of Aptana Studio for Windows and it was last updated like 5 years ago and it has a lot of drawbacks, but the thing it does better than.. well any dev software out there, is that you can in a single window have multiple SSH connections active at the same time and open files from different servers in the same main program window.
    Of course, sometimes I need to check on which server the file is located on that I have open, if I have the "same" file open on several servers at the same time. So you need to have a couple of balls in the air at the same time.
    I guess with VS Code that it opens a new window for every SSH connection "eliminates" that problem, sort of.
    With this video, I feel like VS Code could possibly finally be worth using and maybe I can finally transition over to Linux. However, I don't understand why VS Code needs to install "software" on the remote server? As you say, on budget servers it can bog down the system.
    Going back to Aptana again, it just simply opens up a simple SSH/SFTP connection and gives direct access to the file system at the path you choose. It doesn't have to "install" anything, it just works like an SFTP/SCP connection where you can transfer files, which is what it actually does. When you save a file you're editing, it just transfers that file. When you open a file, it just temporarily saves it locally while you have it open, when you close it in your editor it is deleted locally. No need to manually send over the file or sync or whatever which is the case with GIT and SVN and such. Which also makes it a plus with VS Code now with this plugin that it edits the file directly on the remote, perhaps with some sort of local file while it is open.
    Finally, I understand both that this is a gigantic comment, but also that you're not the developer of the remote SSH plugin for VS code.
    I just wanted to air my thoughts and experiences and I just wonder if you know what the plugin/VS Code actually is "installing" on the remote server?
    Great video, you go through it perfectly and in a calm way. Love it! 😋❤

    • @codewithsusan
      @codewithsusan  Před rokem

      Glad you found the video helpful and it gave you some new insight into VSCode.
      As for why VSCode has to install software on the remote server - just probably necessary to support all the remote features (version control, terminal access, code assistance, plugins, etc.) it's giving you and to make the experience as seamless as possible. It does a lot more than simply letting you edit files on the remote server.
      Thanks for the comment and happy coding!

  • @johnradley7176
    @johnradley7176 Před 8 měsíci

    Excellent. Thanks for video

  • @almogmadar9199
    @almogmadar9199 Před rokem +1

    thanks help alot ...

  • @devoskii456
    @devoskii456 Před 2 měsíci

    Had to look around for a while to find a working tutorial. With a bit of fiddling this worked for me. It did not work until I put my ssh keys into the same directory as the C:\Users\\.ssh config file. No one seems to explain this, so if anyone is struggling, please try that.

  • @anh-vccloudlengoc2784

    Thank you for sharing your knowledge

  • @douglasfabiano
    @douglasfabiano Před rokem +1

    thanks for the content

  • @jeffsooy
    @jeffsooy Před rokem +1

    Subscribed!

  • @nadimedin
    @nadimedin Před rokem

    It was so helpful thank you

  • @abolfazleffati
    @abolfazleffati Před rokem +1

    Thanks

  • @oleksandraliskova8621

    thanks for notes

  • @behnazzarriz4316
    @behnazzarriz4316 Před 11 měsíci

    This is great

  • @alperemre649
    @alperemre649 Před rokem

    Good Work, thank you.

  • @diamondpandey
    @diamondpandey Před rokem +1

    Subscribed

  • @vladimir5235
    @vladimir5235 Před rokem

    ”Subscribed!”

  • @fergndertproductions1735

    I'll try this! thanks!

  • @georgewicks7783
    @georgewicks7783 Před rokem +1

    Subscribed.

  • @sharriceowens913
    @sharriceowens913 Před 11 měsíci

    this is not working for me i get to the point where i see the other pc on the left hand side but when i click open in new window it says could not establish connection to " " : connection with SSH timed out

    • @codewithsusan
      @codewithsusan  Před 11 měsíci

      Are you able to SSH into your server via a regular command line program using the command "ssh username@your.servers.ip.address" ? Knowing this will help you narrow down whether you're having a general issue with SSH'ing into the server in question or whether it's specific to the set up in VSCode.

  • @user-el7kh6cq2t
    @user-el7kh6cq2t Před 10 měsíci

    Thanks

  • @__Gaurav__
    @__Gaurav__ Před rokem

    How can I use remote python kernel? I only get options of my local version

  • @balarammadala5992
    @balarammadala5992 Před rokem

    thanks for the video

  • @313grind
    @313grind Před rokem

    thank you

  • @jawadhaidar3931
    @jawadhaidar3931 Před 2 lety

    nice explanation

  • @q2ten
    @q2ten Před rokem

    I'm currently stuck at 7:46, my ssh server keeps prompting me for a password when the VS Code Server is installing and when I do give it it just reopens another teminal to ask the same question and I have no idea what to do.

    • @codewithsusan
      @codewithsusan  Před rokem

      Are you able to SSH into your server outside of VSCode? For example, if you open a command line program and run `ssh your-username@yourserver.com` does it prompt you for a password, which you enter, and then are able to successfully connect?

    • @q2ten
      @q2ten Před rokem

      @@codewithsusan yes, but I actually got it figured out on my own. thanks for replying though I appreciate it 😎👍

    • @codewithsusan
      @codewithsusan  Před rokem

      @@q2ten Glad you got it sorted out. : )

  • @ShoutThis
    @ShoutThis Před rokem

    thank youuuuu!!!!!!!

  • @bismarkade9760
    @bismarkade9760 Před rokem

    awesome content

  • @SiThEAdHdGUY
    @SiThEAdHdGUY Před rokem

    great video

  • @user-dg8vy1yi3y
    @user-dg8vy1yi3y Před rokem

    thanks

  • @SonPhan-ro3wc
    @SonPhan-ro3wc Před rokem

    good video

  • @shbita
    @shbita Před rokem

    Thanks 👍

  • @hms-kw1bc
    @hms-kw1bc Před rokem +2

    subscribe, thank you for your video

  • @arnaldoneto7351
    @arnaldoneto7351 Před rokem +1

  • @gcstech4922
    @gcstech4922 Před rokem

    Good

  • @diamondwallet7614
    @diamondwallet7614 Před rokem

    good

  • @vickym.248
    @vickym.248 Před rokem

    comment for the notes lol

  • @sumitbanduni9298
    @sumitbanduni9298 Před rokem +1

    yo

  • @user-cp5eu4cs8b
    @user-cp5eu4cs8b Před rokem

    걍 삼바쓰세요

  • @carsonpeterson8657
    @carsonpeterson8657 Před rokem

    s

  • @vuquangtin
    @vuquangtin Před rokem

    hj

  • @safaeazouzou4481
    @safaeazouzou4481 Před 2 lety

    ;

  • @eyesopen6110
    @eyesopen6110 Před rokem

    How do you set environment variables on a remote ssh to a windows server?...

  • @TaiwoAdefala
    @TaiwoAdefala Před 11 měsíci

    This video is a life-saver.....I built an app in php mysql on a regular cpanel shared hosting server and it was moved to a digital ocean droplet due to space constraints and performance issues
    i have no experience whatsoever dealing with ssh-ing into a server but this video hand-held me into the server......Now i can view the live source code right on my vscode - its mind blowing
    Thank you so much
    -------------------------------------------------
    How can i diagnose why file uploads are not working since it was moved to digital ocean......what is the right place to look for the isse?
    Would love your response as soon as possible....Can i contact you?

    • @codewithsusan
      @codewithsusan  Před 11 měsíci +1

      Glad it was helpful!
      Some possible causes of your file upload issue:
      1. Your new server has a file upload limit that your previous server did not have. To look into this, look for any settings in your php.ini file related to "uplooad". Here is a guide I have on finding/working with the php.ini file: czcams.com/video/ysZXcMtsku0/video.html
      2. The directory the files are being written do not have the correct permissions. Make sure the directories are writable by the server. Here is a guide I have that talks about setting permissions: czcams.com/video/HgKUtsO6qig/video.html
      This guide is specific to Laravel directories but it has tips in there that may be helpful
      Hope one of the above suggestions sets you on the right path!

  • @hengkysyafriyandi4137

    thank you for making such easy to follow tutorial.

  • @hattori611
    @hattori611 Před rokem +1

    Thanks

  • @iammarcellin
    @iammarcellin Před 2 lety

    It helped me alot. Thank you very much

    • @codewithsusan
      @codewithsusan  Před 2 lety

      You're welcome, Marcellin. Thanks for watching.

  • @simeonsimeonov4767
    @simeonsimeonov4767 Před rokem +1

    Subscribed

  • @sk810av
    @sk810av Před rokem

    Subscribed!

  • @amsamol4224
    @amsamol4224 Před rokem

    Good

  • @simplynuts5327
    @simplynuts5327 Před rokem +1

    thanks

  • @mayooranthavendra4484

    Subscribed!

  • @yingying900505
    @yingying900505 Před rokem

    Subscribed!

  • @sushantraikar1
    @sushantraikar1 Před rokem

    Thanks

  • @orcafinweb3652
    @orcafinweb3652 Před 2 lety +1

    Subscribed

  • @rhyswilliams1058
    @rhyswilliams1058 Před rokem

    Subscribed!