In this instructable I will teach you how to connect to your Intel Edison board by SSH and how to create and run a basic Python script. So lets begin!
Step 1: Required components
Connect both USB cables to your computer and your board, one is used for power and the other one provides to connect to the Linux side of your Intel Edison.
Go to device manager and check "Ports (COM & LTP)".
You will see two ports for the Intel Galileo as showed in the images. In my case are USB Serial Port (COM5) and Intel Edison Virtual Com Port (COM6). Focus on the USB Serial Port, that in my case is COM5.
Step 3: SSH Client
In this case we will use PuTTY as SSH client. To install it just:
To run PuTTY:
To connect to your Intel Edison Board:
Step 4: Linux
Now it is time to play.
Login to your board by typing "root" as username and just hit "Enter" on password.
You can try Linux commands such as:
Step 5: Python
Now we can open Python interpreter and play with basic functions.
On console type python and python interpreter will open.
Now we can try python print function by typing print "hello world!"
A "hello world!" text will appear.
To exit python interpreter write exit() and press "Enter"
Step 6: Creating and running a Python script
A Python script is a file that contains one or more lines of code so we can just run this file to execute our program.
To create a new script we will use a basic editor called "vi". Follow the next steps:
To run your script: