SandboxPi

From XPUB & Lens-Based wiki
Revision as of 17:33, 22 March 2020 by Andre Castro (talk | contribs) (Created page with " = Login to sandbox= To do so you need to ssh with (with -J we will be jumping from xpub.nl server to the sandbox pi (10.0.0.11) ) ssh -J xpub.nl:2501 10.0.0.11 !! Please...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Login to sandbox

To do so you need to ssh with (with -J we will be jumping from xpub.nl server to the sandbox pi (10.0.0.11) )

ssh -J xpub.nl:2501 10.0.0.11

!! Please note that this will work only if the user you are using on your laptop is the same as mentioned in the public ssh key, which you can verify by running:

   whoami

and comparing the outcome of whoaim with the username (that stands before the @) in your public keys

   cat ~/.ssh/id_rsa.pub

if they do not match, you have to login stating your username as indicated in ~/.ssh/id_rsa.pub

ssh -J username@xpub.nl:2501 username@10.0.0.11

(username has naturally to be replaced to your username as indicated in ~/.ssh/id_rsa.pub )

If you can successfully login, congratulations, you have entered the sandkingdom

If you fail to login: repeat the ssh command, but append -vvv to the end and send the output here to the Xpub list so we can help debugging it :

ssh -J username@xpub.nl:2501 username@10.0.0.11 -vvv


~/.ssh/config

If you are able to login, and want to be extra fancy, create a configuration in ~.ssh/config (your laptop), with

Host hub.sandbox User username Hostname 10.0.0.11 ProxyJump username@xpub.nl:2501 Identityfile ~/.ssh/id_rsa Serveraliveinterval 30

which will allow to login just with:

   ssh hub.sandbox

Please test it

  1. Changed usernames on sandbox Pi

We had to change some of your usernames on the sandbox Pi, so that it matched those on your ssh key. As a result the following usernames have changed, from --> to

annasandri --> anna avitalb --> avital claxhanson --> claranoseda damla --> damlanur onebigear --> biyiwen pedrosaclout --> psc r1ta --> ritagraca sgolub --> sandra simoon --> saibura tisa --> tisaneza zpalomagar --> palomagarcia


learn about what is going on behind the scenes:

http://pzwiki.wdka.nl/mediadesign/HUB http://pzwiki.wdka.nl/mediadesign/Tinc