ssh proxy

ssh proxy for Spring Boot

License

License

Categories

Categories

Net
GroupId

GroupId

com.airlenet.sshproxy
ArtifactId

ArtifactId

sshproxy
Last Version

Last Version

1.0.0
Release Date

Release Date

Type

Type

pom
Description

Description

ssh proxy
ssh proxy for Spring Boot
Project URL

Project URL

https://github.com/airlenet/ssh-proxy
Project Organization

Project Organization

airlenet
Source Code Management

Source Code Management

https://github.com/airlenet/ssh-proxy

Download sshproxy

Filename Size
sshproxy-1.0.0.pom 10 KB
Browse

How to add to project

<!-- https://jarcasting.com/artifacts/com.airlenet.sshproxy/sshproxy/ -->
<dependency>
    <groupId>com.airlenet.sshproxy</groupId>
    <artifactId>sshproxy</artifactId>
    <version>1.0.0</version>
    <type>pom</type>
</dependency>
// https://jarcasting.com/artifacts/com.airlenet.sshproxy/sshproxy/
implementation 'com.airlenet.sshproxy:sshproxy:1.0.0'
// https://jarcasting.com/artifacts/com.airlenet.sshproxy/sshproxy/
implementation ("com.airlenet.sshproxy:sshproxy:1.0.0")
'com.airlenet.sshproxy:sshproxy:pom:1.0.0'
<dependency org="com.airlenet.sshproxy" name="sshproxy" rev="1.0.0">
  <artifact name="sshproxy" type="pom" />
</dependency>
@Grapes(
@Grab(group='com.airlenet.sshproxy', module='sshproxy', version='1.0.0')
)
libraryDependencies += "com.airlenet.sshproxy" % "sshproxy" % "1.0.0"
[com.airlenet.sshproxy/sshproxy "1.0.0"]

Dependencies

There are no dependencies for this project. It is a standalone project that does not depend on any other jars.

Project Modules

  • sshproxy-example
  • sshproxy-boot-starter

sshproxy-boot-starter

sshproxy-boot-starter

简介

通过SSH端口转发功能,解决研发过程中网络不通的问题

支持本地端口转发,远程端口转发。

例如,通过SSH代理,访问数据库等(本地端口转发)

使用

Download the latest JAR or grab via Maven:

        <dependency>
            <groupId>com.airlenet.sshproxy</groupId>
            <artifactId>sshproxy-boot-starter</artifactId>
            <version>1.0.0</version>
        </dependency>

or Gradle:

compile 'com.airlenet.sshproxy:sshproxy-boot-starter:1.0.0'

Snapshots of the development version are available in Sonatype's snapshots repository.

配置

## 本地端口转发 localhost:6000-->(172.16.11.100:22)-->127.0.0.1:3306

airlenet.sshproxy.enable=true
airlenet.sshproxy.mode=local # 本地端口转发
airlenet.sshproxy.host=172.16.11.100
airlenet.sshproxy.port=22
airlenet.sshproxy.user=root
airlenet.sshproxy.password=123456
airlenet.sshproxy.localPort=6000
airlenet.sshproxy.remoteHost=127.0.0.1
airlenet.sshproxy.remotePort=3306

License

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

   http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

Versions

Version
1.0.0