FIT IoT LAB
Setting up FIT IoT LAB platform
SSH External access
Add the public ssh key (your workstation: e.g. ~/.ssh/id_rsa.pub) to your
FIT IoT LAB account.
Create the credentials file:
replace
<fit_login>by your FIT IoT LAB usernamereplace
<fit_password>by your FIT IoT LAB password
You need to have access to the the FIT IoT-LAB API, for that you need to create a
credentials file ~/.iotlabrc on your workstation. The helper command iotlab-auth should already be installed with e2clab.
Setup the .iotlabrc file with your FIT IoT LAB credentials:
iotlab-auth -u <fit_login> -p <fit_password>
In order to allow you to ssh from your workstation to a FIT IoT LAB frontend (e.g.,
ssh <fit_login>@<frontend>.iot-lab.info), configure ~/.ssh/config (in your workstation)
as follows:
Host *.iot-lab.info
User <fit_login>
Host *.grenoble.iot-lab.info
ProxyCommand ssh -A <fit_login>@grenoble.iot-lab.info -W "$(basename %h):%p"
User <fit_login>
ForwardAgent yes
Host *.saclay.iot-lab.info
ProxyCommand ssh -A <fit_login>@saclay.iot-lab.info -W "$(basename %h):%p"
User <fit_login>
ForwardAgent yes
# You can do the same with other FIT-IoT sites
Note
Replace <fit_login> by your FIT IoT LAB login. Example with grenoble and
saclay sites.
Try to access a FIT IoT LAB frontend in grenoble:
# from your workstation
$ ssh grenoble.iot-lab.info