Code Monkey home page Code Monkey logo

openwrt-autossh's Introduction

Autossh for OpenWrt

Install

  • Download a release, then

    opkg update
    opkg install openssh-client
    opkg install autossh_1.4d-x_xxxxx.ipk
    

Build

  • If you use other OpenWRT versions, build yourself: cd into SDK root, then

    # clone the Makefile
    git clone https://github.com/aa65535/openwrt-autossh.git package/autossh
    # select Network -> autossh
    make menuconfig
    make package/autossh/compile V=99

Usage

  1. Enable PubkeyAuthentication and put your public key to .ssh/authorized_keys on server-side.

  2. If you need to access it from the public network, you need to enable GatewayPorts.

  3. Put your private key to .ssh/id_rsa on OpenWrt.

  4. First, manually connect the server in the command line, to write .ssh/known_hosts.

  5. Then, configure and use it.


openwrt-autossh's People

Contributors

aa65535 avatar

Watchers

James Cloos 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.