Skip to content

Laess3r/tunneltool

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Tunnel Tool

Tunnel Tool is a small tool helping to access remote servers. Features:

  • Open SSH Tunnels to various servers
  • Download Logfiles
  • Open Database Connections
  • Upload Files to Servers

Build and Run

Checkout the project and use:

$ mvn package

Executable files will be created at /target/jfx/native

Settings

To avoid hardcoding of different connections, scripts can be defined via "File -> Settings"

Database Settings

Example configuration entry: "Our special QS Database"

@echo off
start /min plink.exe -l username -P 22 -pw password -L 1111:myqsserver:22 testserverbetween
start /min plink.exe -l username -P 1111 -pw password -L 1550:mydbserver:1560 localhost

SCP Tunnel Scripts

Example configuration entry: "Our special QS File Access"

@echo off
start /min plink.exe -l username -P 22 -pw password -L 1122:myqsserver:22 testserverbetween
winscp.exe sftp://username:password@localhost:1122/my/target/files/folder/
taskkill /IM plink.exe

Misc Settings

SQL Developer path,

eg. "C:\sqldeveloper\sqldeveloper.exe"

Temp File Upload Script example:

@echo off
start /min plink.exe -l username -P 22 -pw password -L 1122:myqsserver:22 testserverbetween
ping 127.0.0.1 -n 3 > nul
winscp.exe sftp://username:password@localhost:1122/tmp/ /upload %FILENAME%
putty.exe -ssh username@localhost -P 1122 -pw password -m %PUTTYFILE%
taskkill /IM plink.exe

Prod File Movement Script example:

echo "cp /tmp/%FILENAME% /my/target/folder/%FILENAME% ; /bin/bash" | sudo /bin/su - userToUse

Licenses

This software contains plink.exe (PuTTY License), putty.exe PuTTY License) and winscp.exe (WinSCP License). All rights of these applications belong to their creators. They are not covered by the license used by TunnelTool.

App icon made by Freepik from Flaticon

About

TunnelTool is a small tool helping to access remote servers

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published