Giter VIP home page Giter VIP logo

resin-openssh's Introduction

Simple OpenSSH on Resin.io

This starts an openssh server on port 22. You can then ssh into the running container using ssh root@<YOUR-DEVICE'S-IP> the default password for root is resin.

Usage

This assumes you already have an account on resin.io, if you don't, then head over to our [Getting Started Guide][getting-started] and get yourself all set up.

  1. Clone this repository and change into this directory:
$ git clone https://github.com/resin-io-projects/resin-openssh.git && cd resin-openssh
  1. Add your resin.io application git remote:
$ git remote add resin [email protected]:my_resin_username/myApplication.git
  1. Deploy your code to the device(s):
$ git push resin master

Note: If you may need to use the --force option for the git push if you have previously deployed another repo to this application.

Troubleshooting

At after pushing you may encounter and re-sshing back into the device you may encounter this error message as the host key changes when an update occurs on the device.

@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@    WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED!     @
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
IT IS POSSIBLE THAT SOMEONE IS DOING SOMETHING NASTY!
Someone could be eavesdropping on you right now (man-in-the-middle attack)!
It is also possible that a host key has just been changed.

To get around this remove the key.

$ ssh-keygen -R <YOUR-DEVICE'S-IP>

It will then work as expected

$ root@<YOUR-DEVICE'S-IP>

resin-openssh's People

Contributors

imrehg avatar page- avatar shaunmulligan avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.