com.airlenet.sshproxy:sshproxy-boot-starter

ssh proxy for Spring Boot

License

License

Categories

Categories

Net
GroupId

GroupId

com.airlenet.sshproxy
ArtifactId

ArtifactId

sshproxy-boot-starter
Last Version

Last Version

1.0.0
Release Date

Release Date

Type

Type

jar
Description

Description

ssh proxy for Spring Boot
Project Organization

Project Organization

airlenet

Download sshproxy-boot-starter

How to add to project

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

Dependencies

compile (5)

Group / Artifact Type Version
org.springframework.boot : spring-boot-starter jar
com.jcraft : jsch jar 0.1.55
org.springframework.boot : spring-boot-configuration-processor Optional jar
org.projectlombok : lombok Optional jar
com.alibaba : druid-spring-boot-starter Optional jar 1.1.10

runtime (1)

Group / Artifact Type Version
org.springframework.boot : spring-boot-devtools Optional jar

test (1)

Group / Artifact Type Version
org.springframework.boot : spring-boot-starter-test jar

Project Modules

There are no modules declared in this project.

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