<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Sharkdevs 🦈</title>
    <description>The latest articles on DEV Community by Sharkdevs 🦈 (@sharkdevs).</description>
    <link>https://dev.to/sharkdevs</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F195156%2F1b50d857-4d4d-4119-816f-f1eb9bc1216a.jpeg</url>
      <title>DEV Community: Sharkdevs 🦈</title>
      <link>https://dev.to/sharkdevs</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/sharkdevs"/>
    <language>en</language>
    <item>
      <title>SSH  to Remote server on VsCode in 1 minute</title>
      <dc:creator>Sharkdevs 🦈</dc:creator>
      <pubDate>Tue, 20 Aug 2019 09:59:10 +0000</pubDate>
      <link>https://dev.to/sharkdevs/ssh-to-remote-server-on-vscode-in-1-minute-100k</link>
      <guid>https://dev.to/sharkdevs/ssh-to-remote-server-on-vscode-in-1-minute-100k</guid>
      <description>&lt;p&gt;Lately, I was working on a project in Digital Ocean. I wanted to pull and access the folders there in my local Visual studio code. While  &lt;a href=""&gt;Vs Code Documentation&lt;/a&gt; solves this, I want to provide a straight forward way to pull a remote server to your Vs Code.&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;This article assumes that your ssh is already configured and all you want to do is get the remote server locally.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--O9CfjWWF--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://thepracticaldev.s3.amazonaws.com/i/hssi4tganzyjzsvpdjdx.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--O9CfjWWF--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://thepracticaldev.s3.amazonaws.com/i/hssi4tganzyjzsvpdjdx.png" alt="Alt Text"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  Step 1:Install Remote-SSH extension
&lt;/h3&gt;

&lt;p&gt;On VsCode, navigate to extensions and Install &lt;code&gt;Remote-SSH&lt;/code&gt;&lt;br&gt;
&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--b8c-tjzt--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://thepracticaldev.s3.amazonaws.com/i/ug3iqthv4f0g3oedrb8u.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--b8c-tjzt--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://thepracticaldev.s3.amazonaws.com/i/ug3iqthv4f0g3oedrb8u.png" alt="Alt Text"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  Step 2: Configure SSH
&lt;/h3&gt;

&lt;p&gt;i. Open the Vscode command Pallet(cmnd+shift+P) and type &lt;code&gt;Remote&lt;/code&gt;. You will see a dropdown with several options. Click &lt;code&gt;Remote-SSH: connect to host&lt;/code&gt;&lt;br&gt;
&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--cTOF7jY---/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://thepracticaldev.s3.amazonaws.com/i/gxrw29r8rtu69a5165ry.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--cTOF7jY---/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://thepracticaldev.s3.amazonaws.com/i/gxrw29r8rtu69a5165ry.png" alt="Alt Text"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;ii. In the input box provided, insert the hostname to ssh to in the format &lt;code&gt;username@hostname&lt;/code&gt; ie &lt;code&gt;root@127.0.0.1&lt;/code&gt; and click the highlighted option below it.&lt;br&gt;
&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--wh4Fy7sJ--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://thepracticaldev.s3.amazonaws.com/i/ga5anzt05vlz11mtsf29.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--wh4Fy7sJ--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://thepracticaldev.s3.amazonaws.com/i/ga5anzt05vlz11mtsf29.png" alt="Alt Text"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;iii. Insert your password in the next step and Vscode will finish the rest of the configuration.&lt;/p&gt;

&lt;h3&gt;
  
  
  Finally:
&lt;/h3&gt;

&lt;p&gt;To open your folders, Navigate to &lt;code&gt;Files &amp;gt; open &amp;gt; file&lt;/code&gt;&lt;br&gt;
Alternatively, you can click on the File Explorer to Open the folder that you would like to access.&lt;br&gt;
&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--6YJRCYJ2--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://thepracticaldev.s3.amazonaws.com/i/cqnix1gm531bwhnmvwpr.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--6YJRCYJ2--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://thepracticaldev.s3.amazonaws.com/i/cqnix1gm531bwhnmvwpr.png" alt="Alt Text"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Happy Coding From the shark🦈&lt;/p&gt;

</description>
      <category>vscode</category>
      <category>ssh</category>
    </item>
  </channel>
</rss>
