advanced-ssh-config 1.1.0
pip install advanced-ssh-config
Latest version
Released:
Add some magic to SSH and .ssh/config
Navigation
Unverified details
These details have not been verified by PyPIProject links
Meta
- License: MIT License (MIT)
- Author: Manfred Touron
Classifiers
- Development Status
- Intended Audience
- License
- Operating System
- Programming Language
- Topic
Project description
Advanced SSH config
===================
|Travis| |PyPI version| |PyPI downloads| |License| |Requires.io|
|Gitter|
|ASSH logo - Advanced SSH Config logo|
Enhances ``ssh_config`` file capabilities
**NOTE**: This program is called by
`ProxyCommand <http://en.wikibooks.org/wiki/OpenSSH/Cookbook/Proxies_and_Jump_Hosts#ProxyCommand_with_Netcat>`__
from `lib-ssh <https://www.libssh.org>`__.
--------------
It works *transparently* with :
- ssh
- scp
- rsync
- git
- and even desktop applications depending on ``lib-ssh`` (for instance
`Tower <http://www.git-tower.com>`__, `Atom.io <https://atom.io>`__,
`SSH Tunnel Manager <http://projects.tynsoe.org/fr/stm/>`__)
--------------
The ``.ssh/config`` file is automatically generated, you need to update
``.ssh/config.advanced`` file instead; With new features and a better
regex engine for the hostnames.
Usage
-----
.. code:: console
USER`` (take ]
gateways = bar # `ssh vm-42.joe.com will use `bar` as gateway which
# itself will use `foo.com` as gateway
[default]
ProxyCommand = assh --port=%p connect %h
--------------
.. code:: ini
# Complete example
[foo]
user = pacman
port = 2222
hostname = foo.com
[bar]
hostname = 1.2.3.4
gateways = foo
# By running `ssh bar`, you will ssh to `bar` through a `ssh foo`
[^vm-[0-9]*\.joe\.com curl -L https://github.com/moul/advanced-ssh-config/releases/download/v1.1.0/assh-`uname -s`-`uname -m` > /usr/local/bin/assh
pip install advanced-ssh-config
Or by cloning
.. code:: console
cd advanced-ssh-config
assh init > ~/.ssh/config.advanced
make test
Docker
------
Build
.. code:: console
docker run -rm -i -t moul/advanced-ssh-config
or
(pwd)/:/advanced_ssh_config moul/advanced-ssh-config
or
$ docker run -rm -i -t -v moul/advanced-ssh-config python setup.py test
Contributors
------------
- `Christo DeLange <https://github.com/dldinternet>`__
--
© 2009-2015 Manfred Touron - `MIT
License <https://github.com/moul/advanced-ssh-config/blob/master/License.txt>`__.
.. |Travis| image:: https://img.shields.io/travis/moul/advanced-ssh-config.svg
:target: https://travis-ci.org/moul/advanced-ssh-config
.. |PyPI version| image:: https://img.shields.io/pypi/v/advanced-ssh-config.svg
:target: https://pypi.python.org/pypi/advanced-ssh-config/
.. |PyPI downloads| image:: https://img.shields.io/pypi/dm/advanced-ssh-config.svg
:target:
.. |License| image:: https://img.shields.io/pypi/l/advanced-ssh-config.svg?style=flat
:target: https://github.com/moul/advanced-ssh-config/blob/develop/LICENSE.md
.. |Requires.io| image:: https://img.shields.io/requires/github/moul/advanced-ssh-config.svg
:target: https://requires.io/github/moul/advanced-ssh-config/requirements/
.. |Gitter| image:: https://img.shields.io/badge/chat-gitter-ff69b4.svg
:target: https://gitter.im/moul/advanced-ssh-config
.. |ASSH logo - Advanced SSH Config logo| image:: https://raw.githubusercontent.com/moul/advanced-ssh-config/develop/assets/assh.jpg
:target: https://github.com/moul/advanced-ssh-config
===================
|Travis| |PyPI version| |PyPI downloads| |License| |Requires.io|
|Gitter|
|ASSH logo - Advanced SSH Config logo|
Enhances ``ssh_config`` file capabilities
**NOTE**: This program is called by
`ProxyCommand <http://en.wikibooks.org/wiki/OpenSSH/Cookbook/Proxies_and_Jump_Hosts#ProxyCommand_with_Netcat>`__
from `lib-ssh <https://www.libssh.org>`__.
--------------
It works *transparently* with :
- ssh
- scp
- rsync
- git
- and even desktop applications depending on ``lib-ssh`` (for instance
`Tower <http://www.git-tower.com>`__, `Atom.io <https://atom.io>`__,
`SSH Tunnel Manager <http://projects.tynsoe.org/fr/stm/>`__)
--------------
The ``.ssh/config`` file is automatically generated, you need to update
``.ssh/config.advanced`` file instead; With new features and a better
regex engine for the hostnames.
Usage
-----
.. code:: console
gateways = bar # `ssh vm-42.joe.com will use `bar` as gateway which
# itself will use `foo.com` as gateway
[default]
ProxyCommand = assh --port=%p connect %h
--------------
.. code:: ini
# Complete example
[foo]
user = pacman
port = 2222
hostname = foo.com
[bar]
hostname = 1.2.3.4
gateways = foo
# By running `ssh bar`, you will ssh to `bar` through a `ssh foo`
[^vm-[0-9]*\.joe\.com
Or by cloning
.. code:: console
Docker
------
Build
.. code:: console
or
or
$ docker run -rm -i -t -v moul/advanced-ssh-config python setup.py test
Contributors
------------
- `Christo DeLange <https://github.com/dldinternet>`__
--
© 2009-2015 Manfred Touron - `MIT
License <https://github.com/moul/advanced-ssh-config/blob/master/License.txt>`__.
.. |Travis| image:: https://img.shields.io/travis/moul/advanced-ssh-config.svg
:target: https://travis-ci.org/moul/advanced-ssh-config
.. |PyPI version| image:: https://img.shields.io/pypi/v/advanced-ssh-config.svg
:target: https://pypi.python.org/pypi/advanced-ssh-config/
.. |PyPI downloads| image:: https://img.shields.io/pypi/dm/advanced-ssh-config.svg
:target:
.. |License| image:: https://img.shields.io/pypi/l/advanced-ssh-config.svg?style=flat
:target: https://github.com/moul/advanced-ssh-config/blob/develop/LICENSE.md
.. |Requires.io| image:: https://img.shields.io/requires/github/moul/advanced-ssh-config.svg
:target: https://requires.io/github/moul/advanced-ssh-config/requirements/
.. |Gitter| image:: https://img.shields.io/badge/chat-gitter-ff69b4.svg
:target: https://gitter.im/moul/advanced-ssh-config
.. |ASSH logo - Advanced SSH Config logo| image:: https://raw.githubusercontent.com/moul/advanced-ssh-config/develop/assets/assh.jpg
:target: https://github.com/moul/advanced-ssh-config
Project details
Unverified details
These details have not been verified by PyPIProject links
Meta
- License: MIT License (MIT)
- Author: Manfred Touron
Classifiers
- Development Status
- Intended Audience
- License
- Operating System
- Programming Language
- Topic
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distributions
File details
Details for the file advanced-ssh-config-1.1.0.tar.gz
.
File metadata
- Download URL: advanced-ssh-config-1.1.0.tar.gz
- Upload date:
- Size: 17.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5bebaa3d911fbaf5848194c61059bcad62822920c42bd30751885ae1dab0ed48 |
|
MD5 | c14bb1cd0bab0b3fa6c69efb5bce2e69 |
|
BLAKE2b-256 | d25aae33754f3508a7273b183557ca7f43e3e9676fae0f8b7582da087eb8ca76 |
File details
Details for the file advanced_ssh_config-1.1.0-py27-none-any.whl
.
File metadata
- Download URL: advanced_ssh_config-1.1.0-py27-none-any.whl
- Upload date:
- Size: 25.4 kB
- Tags: Python 2.7
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | dd04849c7c2729b3bdcf10d1697339e30272dbbc924defd01750f061918f4ad1 |
|
MD5 | 1edea4fc3b0d886635085fa7cbde87e5 |
|
BLAKE2b-256 | 4309ae3ca0ae57cf2cd15c42728cb10c76d16b471a74b67b896c2336c7b174c1 |
File details
Details for the file advanced_ssh_config-1.1.0-py26-none-any.whl
.
File metadata
- Download URL: advanced_ssh_config-1.1.0-py26-none-any.whl
- Upload date:
- Size: 25.4 kB
- Tags: Python 2.6
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6603c0428ec4ecab002a8bc91f0fd0e641b026a6f30e163f1097da343ca58ee3 |
|
MD5 | 376681a9b2f5b4fb614dab7a2ceaf3e6 |
|
BLAKE2b-256 | f0b058503d405f350e2fb2c73f954847ea55b79ba4ad92a2e0cb5203ca8d49af |
File details
Details for the file advanced_ssh_config-1.1.0-py2.7.egg
.
File metadata
- Download URL: advanced_ssh_config-1.1.0-py2.7.egg
- Upload date:
- Size: 49.4 kB
- Tags: Egg
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 25ae4cf6e3362e61736a7f2583df39cd3ca504608edfe9910af48334a70f7473 |
|
MD5 | 11cad2471cdcde07f2cb4568f7bda955 |
|
BLAKE2b-256 | 0d5185e6fdc8753bc5a6c845e621f5d7fe3cd510f5f4554c0390ad74b546afdc |
File details
Details for the file advanced_ssh_config-1.1.0-py2.6.egg
.
File metadata
- Download URL: advanced_ssh_config-1.1.0-py2.6.egg
- Upload date:
- Size: 49.6 kB
- Tags: Egg
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e9687ca6c6753015b171335e1d09d86f65d91023e69e9c68e8eb06f4c98c3df6 |
|
MD5 | 3462fa58d32b061b475a95dba76225ee |
|
BLAKE2b-256 | ade35332d13ce3827c362c7963ccc7a8f53d6e45ae7981ccd60c54614a6d59fc |
File details
Details for the file advanced-ssh-config-1.1.0.macosx-10.10-intel.tar.gz
.
File metadata
- Download URL: advanced-ssh-config-1.1.0.macosx-10.10-intel.tar.gz
- Upload date:
- Size: 38.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4eb6b901081f96e9fa7a9ae34b1794aa12f33805c64a6641cddef0f6a8c984b2 |
|
MD5 | f896e4b68517ed97e61a25d34e6cb853 |
|
BLAKE2b-256 | b515aa06d0df6d06a38936d0a57b16e2bf0185e1449480d5e47aab7c7969799d |