Giter Site home page Giter Site logo

remotessh's Introduction

remotessh

Configure a remote connection through ssh.

Teamviewer is great, but under some circumstances it's not possible:

  • low-bandwidth - waiting for the screen to show is sloooow
  • IoT-devices where it's not installable

Other solutions like VPN might be too difficult to install.

I struggled mostly with the first point and searched for a long time a way to access a compter remotely through ssh. Because the sharing-feature of Macs or opening a ssh-port under Linux doesn't work through NAT, remotessh solves the problem by connecting to a server:

Remote computer ---->  public server  <---- control computer

sshd listening on      can connect          needs access to
port 2222              to remote computer   public server
ssh port-forwarding    through port 2222
to server

On the control-computer, you initialize the keys:

./scripts/install.sh user@host

And then you zip the whole directory and send it to your 'remote computer'. Now your friend unzips it and runs either

./scripts/start_remote.sh

or double-clicks on the start_remote.scpt if he has a Mac. Now you can connect to your public server and run

./connect_remote.sh

And voila, you're connected to the remote computer via ssh.

Security

This gives access to your public server to the user from the remote computer. Each time you run install.sh, a new keypair is created for the remote computer, and the public server has the public key installed in its authorized_keys.

remotessh's People

Contributors

ineiti avatar

Watchers

 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.