These are chat archives for nebrius/raspi-io

12th
May 2016
crosofg
@crosofg
May 12 2016 16:33
@crosofg
hey Do you know any way to remotely ssh into my raspberry fomr internet ?
lets say I have deployed couple of raspberry and I want to change some code/remove files watch file size and ll
how can this be done?
Bryan Hughes
@nebrius
May 12 2016 16:35
@crosofg it’s the same as any other server you want to ssh into. If this is a home setup, you’ll need to consult the documentation for your router and figure out how to enable what’s called “Port Forwarding”. If this is a work network, consult your IT person
crosofg
@crosofg
May 12 2016 16:36
its not home setup . I want to use it in a product to be sold
industrial product
Bryan Hughes
@nebrius
May 12 2016 16:37
Ohhhh. Enabling SSH isn’t realistic in that scenario
crosofg
@crosofg
May 12 2016 16:37
cant it be done over websockets and all
Bryan Hughes
@nebrius
May 12 2016 16:37
you’ll need to set up a custom web service for the Pi to phone home on, and do things that way
Not SSH, at least not directly
crosofg
@crosofg
May 12 2016 16:38
tell me the approach . I will do research
waht needs to be setup?
Bryan Hughes
@nebrius
May 12 2016 16:38
Well…that’s basically the approach
How you set it up is up to you
(I’ve never done it before)
crosofg
@crosofg
May 12 2016 16:39
ok
Bryan Hughes
@nebrius
May 12 2016 16:39
I would take a look at how Particle does it with the Photon and Electron
They have capabilities similar to this, although it’s not SSH
It’s a more integrated cloud system that allows you to reflash devices remotely