]> git.corax.cc Git - toolbox-goodies/commit
include/ssh: Add functions to list running tunnels and proxies
authorMatthias Kruk <matthias.kruk@miraclelinux.com>
Mon, 26 Jul 2021 02:40:33 +0000 (11:40 +0900)
committerMatthias Kruk <matthias.kruk@miraclelinux.com>
Mon, 26 Jul 2021 02:40:33 +0000 (11:40 +0900)
commit1a7834717231b797e102cffb8f4f5b26bf34ab73
tree264a7b44aa916737e48919f98e383d6783e40f33
parent9b4e881e0593a3b9cc3fbeba0ef6800659d1bfd7
include/ssh: Add functions to list running tunnels and proxies

The ssh module does not provide any means to figure out what tunnels
and proxies have been established, making it hard to automate ssh
connections.
This commit adds the ssh_tunnel_list() and ssh_proxy_list() functions
which may be used to list the established tunnels and proxies,
respectively.
include/ssh.sh