Skip to content

Using Remote SSH with a Beaglebone

Carmen edited this page Jan 22, 2021 · 6 revisions

Using Remote SSH with a Beaglebone

What you will need to get started

  1. VS Code
  2. RemoteSSH extension
    1. If you don't know how to install this extension see bottom of page
  3. BealgeBone connected to your computer

How to First Time

  1. Open up an instance of VS Code
  2. In the bottom left of your window you should see a little green and white icon, click on this
  3. Now there should be a menu that appeared in the top middle of your VS Code instance
  4. Click on the "Remote-SSH: Connect Current Window to Host..." button
  5. Now click the "Add New SSH Host..." Button
  6. Enter ssh [email protected] -A to the field and press Enter
  7. Press Enter again to save the config into the default file location
  8. Now follow the How to Every Other Time tutorial to actually connect to the Beaglebone

How to Every Other Time

  1. Open up an instance of VS Code
  2. In bottom left of your window there should be a little blue and white icon, click on this
  3. Now there should be a menu that appeared in the top middle of your VS Code instance
  4. Click on the "Remote-SSH: Connect Current Window to Host..." button
  5. Press Enter once
  6. type in the password temppwd and press Enter
  7. Now you should be connect to the Beaglebone, sometimes the previous step fails, if so start from step 1
  8. Open up the file browsing tab of VS Code (top left button)
  9. Click Open folder
  10. Click on mrover-workspace from the menu and then press the OK button
  11. After a few seconds all of the mrover files should appear on the left side of your window
  12. To open a terminal so you can navigate branches and run your code, press Ctrl+Shift+`

How to Install Remote-SSH

  1. Open up an instance of VS Code
  2. Click the tab on the left that looks like a box made up of smaller boxes
  3. In the search field search remote ssh
  4. Click on the first option and press install
  5. After it is done installing restart your VS Code instance and you should be able to follow the rest of the guide
Clone this wiki locally