Skip to content

A TCP proxy for yum,pip or wget on ssh tunnel portfowarding

Notifications You must be signed in to change notification settings

jindaxia/sshproxy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

SSH Tunnel Proxy

A TCP proxy for yum,pip or wget on ssh tunnel portfowarding

Features

  • a simple http(s) proxy
  • show request logs
  • auto set yum/wget config file,

Todo

  • file transfer
  • set pip config file
  • backup/restore yum/wget config file

Usage

  1. Edit the server login and bastion login(if needed)

        server = ['192.168.1.22', 22]  # server ip/port
        login = ['root', 'Passw0rd'] # login user/password
        bastion = ['1.1.1.1', 22, 'root', '1'] # bastion login
  2. run main.py

python main.py

Requirement

  1. paramiko

pip install paramiko

About

A TCP proxy for yum,pip or wget on ssh tunnel portfowarding

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages