All Projects → srvrco → Rssh

srvrco / Rssh

Licence: gpl-3.0
route ssh through a series of hosts (for if you / the servers are behind firewalls etc)

Programming Languages

shell
77523 projects

Projects that are alternatives of or similar to Rssh

rsp
Rapid SSH Proxy
Stars: ✭ 223 (+2687.5%)
Mutual labels:  ssh, socks-proxy
Hss
An interactive parallel ssh client featuring autocomplete and asynchronous execution.
Stars: ✭ 248 (+3000%)
Mutual labels:  ssh, multiple
Aws Ec2 Ssh
Manage AWS EC2 SSH access with IAM
Stars: ✭ 796 (+9850%)
Mutual labels:  ssh
Storeon Async Router
Asynchronous router for Storeon. It provides possibility for prefetch the data, lazy load, navigation cancellation, and routes modification on the fly.
Stars: ✭ 22 (+175%)
Mutual labels:  routing
Zeps Gui
L'interface d'un outil de calcul d'itinéraires, principalement utilisé pour se repérer dans le Netherrail de Zcraft. Nécessite https://github.com/zDevelopers/ZePS-Core .
Stars: ✭ 5 (-37.5%)
Mutual labels:  routing
Sshtunnel
SSH tunnels to remote server.
Stars: ✭ 797 (+9862.5%)
Mutual labels:  ssh
Ssb
Secure Shell Bruteforcer — A faster & simpler way to bruteforce SSH server
Stars: ✭ 832 (+10300%)
Mutual labels:  ssh
Opscloud
运维管理平台(阿里云),自动同步阿里云配置信息,堡垒机(容器),批量运维,Kubernetes,Zabbix管理等功能
Stars: ✭ 788 (+9750%)
Mutual labels:  ssh
Socksio
Sans-I/O implementation of SOCKS4, SOCKS4A, and SOCKS5
Stars: ✭ 27 (+237.5%)
Mutual labels:  socks-proxy
History Of Javascript
Project "History of JavaScript"
Stars: ✭ 819 (+10137.5%)
Mutual labels:  series
Ssh Helper
Easily manage your ssh config.
Stars: ✭ 19 (+137.5%)
Mutual labels:  ssh
Neo Regeorg
Neo-reGeorg is a project that seeks to aggressively refactor reGeorg
Stars: ✭ 814 (+10075%)
Mutual labels:  socks-proxy
Pgrouting
Repository contains pgRouting library. Development branch is "develop", stable branch is "master"
Stars: ✭ 804 (+9950%)
Mutual labels:  routing
Gitorbit
GitHub-like Git Server, let you control the permission via mongodb or LDAP
Stars: ✭ 16 (+100%)
Mutual labels:  ssh
Winscp
WinSCP is a popular free SFTP and FTP client for Windows, a powerful file manager that will improve your productivity. It supports also Amazon S3, FTPS, SCP and WebDAV protocols. Power users can automate WinSCP using .NET assembly.
Stars: ✭ 794 (+9825%)
Mutual labels:  ssh
Angular2 Load Children Loader
A webpack loader for ng2 lazy loading
Stars: ✭ 23 (+187.5%)
Mutual labels:  routing
Kitty
💻 KiTTY, a free telnet/ssh client for Windows
Stars: ✭ 791 (+9787.5%)
Mutual labels:  ssh
Totp Ssh Fluxer
Take security by obscurity to the next level (this is a bad idea, don't really use this please)
Stars: ✭ 811 (+10037.5%)
Mutual labels:  ssh
The Bastion
Authentication, authorization, traceability and auditability for SSH accesses.
Stars: ✭ 833 (+10312.5%)
Mutual labels:  ssh
Bidi
Bidirectional URI routing
Stars: ✭ 941 (+11662.5%)
Mutual labels:  routing

rssh

route ssh through a series of hosts i.e. multi-hop (for if you / the servers are behind firewalls etc)

This is a script to enable you to route ssh though a series of host to connect to your final host, and then either run as standard SSH, have a forward proxy, or run a command

  rssh ver. 0.3
  route ssh through a series of hosts

  Usage: rssh [-h|--help] [-v] [-s socks_port] sever1 server2 [server3] [server4 ....etc] [-c command]

  Options:
  -h, --help  Display this help message and exit.
  -v          verbose output from ssh
  -d          debug on
  -D          debug off
  -s nnnn     socks port
  -c command  command to run on remote server

  note: This script assumes that any hosts in your ~/.ssh/config file have a non-indented Host
        line and the rest of the items related to that host are indented.

The script reads any hosts you have in your standard ~/.ssh/config file and uses the main attributes for those hosts. It assumes that your config file is indented in a convetional manner i.e.

Host server1
 Hostname 8.8.8.8
 PasswordAuthentication yes

Host myhomeserver
 Hostname homeserver.mydomain.com
 KexAlgorithms [email protected],diffie-hellman-group-exchange-sha256,diffie-hellman-group14-sha1

Host devel
 Hostname dedicated862.example.com
 Port 1292

The script works by creating a temporary ssh config file, with all the parameters needed, then running ssh with that. This enables you to then easily create a socks proxy or whatever you need

Example 1 : Traversing a single machine

If you want to connect

  • to a remote host called destination (as user chuck, on default port)
  • via a firewall (as user jane, on non-default port 1727)

The corresponding command using rssh is :

$ rssh [email protected]:1727 [email protected]

If you have the firewall and destination defined on your ssh config then it would simply be

$ rssh firewall destination

Example 2 : traversing through two machines

If you want to connect

  • to a remote host called destination (as user chuck, on default port)
  • via a firewall (as user jane, on non-default port 1727)
  • then via a router (as user bill, on default port)

Type the following command using rssh :

$ rssh [email protected]:1727 [email protected] [email protected]

Again, if you have the firewall, router and destination defined on your ssh config then it would simply be

$ rssh firewall router destination

Example 3 : Traversing through a single machine and setting up a socks proxy in the final destination server

If you want to connect

  • to a remote host called destination (as user chuck, on default port) and have a Socks proxy on port 8889
  • via a firewall (as user jane, on non-default port 1727)

The corresponding command using rssh is :

$ rssh [email protected]:1727 [email protected] -8889

If you have the firewall and destination defined on your ssh config then it would simply be

$ rssh firewall destination -s 8889

Using 'common' settings from bashrc on the destination server.

If you add your bashsettings into a file at ~/.sshrc then these will be used on the destination server (temporarily whist you are logged on). So if you want to include your favourite aliases, functions etc into ~/.sshrc then they will be available to you when logged into the destination server ( incorporating the code from https://github.com/Russell91/sshrc )

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].