Code Monkey home page Code Monkey logo

sshproxy's Introduction

sshproxy

便捷创建SSH隧道wrapper脚本,对ssh -L命令的上层封装,创建本地socks或http代理隧道

使用说明:

请运行sshproxy --helpsshproxy -h 查看命令帮助及参数说明!

sshproxy --help
/v/bin/sshproxy

        执行autossh,自动创建SSH动态端口代理隧道.
        默认绑定端口:0.0.0.0:8989.
        参数1目的主机的为必选参数,其余为可选参数.

Usage:
        sshproxy [*hostname] [local proxy port] [kill exists process] [use http proxy or not(mustbe: nohttp)]
Example1:
        sshproxy racknerd true
Example2:
        sshproxy racknerd nohttp
Example3:
        sshproxy racknerd 7171 true
Example4:
        sshproxy racknerd 7171 nohttp
Example5:
        sshproxy racknerd 7171 true nohttp

附加用法:

        1.sshproxy kill  检测并杀死所有的代理进程
        2.sshproxy list  列出当前活动的所有代理
        3.sshproxy test  检测已有代理端口的可用性


注:默认连接SSH后创建的代理隧道类型为SOCKS类型,如果需要使用HTTP隧道,需要使用goproxy所为辅助工具将SOCKS隧道转为HTTP隧道

goproxy Github来源

操作截图

image

image

image

image

sshproxy's People

Contributors

hexiyou avatar

Stargazers

Roman 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.