Thanks to visit codestin.com
Credit goes to github.com

Skip to content

aa65535/openwrt-autossh

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.


About

Autossh with LuCI

Resources

License

Stars

39 stars

Watchers

6 watching

Forks

Packages

 
 
 

Contributors