Giter VIP home page Giter VIP logo

ssh-tunnels's Introduction

SSH tunnels

This package lets you run and kill SSH tunnels. To use it:

  • Set the variable ssh-tunnels-configurations, e.g.:
(setq ssh-tunnels-configurations
      '((:name "my tunnel"
         :local-port 1234
         :remote-port 3306
         :login "me@host")))
  • Type M-x ssh-tunnels RET

  • You should see the list of tunnels; running tunnels will have 'R' in their state column

  • To run the tunnel at the current line, type r

  • To kill a running tunnel, type k

  • You may want to temporarily change a tunnel's local port. To do that you may provide a prefix argument to the run command, for example by typing C-u 1235 r

Helm, Ido, Ivy

The package comes with a Helm frontend (M-x helm-ssh-tunnels) as well as completing-read frontends, which can be used with Ido or Ivy (M-x ssh-tunnels-run-tunnel and M-x ssh-tunnels-kill-tunnel).

Auto-ssh-tunnels-mode

This package also includes a global minor-mode that automatically starts SSH tunnels when Emacs's built-in open-network-stream function is used. Before a connection is made to a host and port that correspond to a tunnel's host and local port, this mode will make sure that the tunnel is running.

Use M-x auto-ssh-tunnels-mode to enable this global minor-mode.

License

MIT

ssh-tunnels's People

Contributors

death avatar evilham avatar miciah avatar montag451 avatar purcell avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.