Skip to content

this is a cross platform ssh tunnel forward tool by rust

Notifications You must be signed in to change notification settings

xeekst/ssh-tunnel-rs

Repository files navigation

ssh-tunnel-rs

this is a ssh tunnel forward tool by rust, contains cross platform GUI and CLI

Dependency Framework

if compile openssl error, try install cmake: https://cmake.org/download/ and https://strawberryperl.com/

CLI

ssh-tunnel-cli.png

GUI

ssh-tunnel-gui.jpg

How to run?

1. just run cli

cargo run --bin ssh-tunnel-cli -- -h
# run with args
cargo run --bin ssh-tunnel-cli -- --host 192.168.5.45 --user someuser -a password --pwd somepwd local --local-port 3316 --remote-host 192.168.5.36 --remote-port 3306

2. just run gui

cargo run --bin ssh-tunnel-gui

How to use?

1. Local port forward by password

ssh-tunnel-cli --host 192.168.5.45 --user someuser -a password --pwd somepwd local --local-port 3316 --remote-host 192.168.5.36 --remote-port 3306

2. Remote port forward by password

ssh-tunnel-cli --host 192.168.5.45 --user someuser -a password --pwd somepwd remote --local-port 3316 --local-host 192.168.5.36 --remote-port 3306

3. Local port forward by KeyPair

ssh-tunnel-cli --host 192.168.5.45 --user someuser -a key-pair --private-key /usr/yourname/private_k_file --local-port 3316 --remote-host 192.168.5.36 --remote-port 3306

4. Remote port forward by KeyPair

ssh-tunnel-cli --host 192.168.5.45 --user someuser -a key-pair --private-key /usr/yourname/private_k_file remote --local-port 3316 --local-host 192.168.5.36 --remote-port 3306

Roadmap

  • GUI for windows/winpe, linux, macos
  • cli for windows/winpe, linux, macos about local/remote tunnel
  • local ssh tunnel by user/password
  • remote ssh tunnel by user/password
  • support auth by ssh file
  • support dynamic port forward
  • support clearer status display
  • interactive mode

Welcome any suggestions and contributions

If you have any questions, you can submit your issue

About

this is a cross platform ssh tunnel forward tool by rust

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages