Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: SSH session multiplexing #616

Merged
merged 1 commit into from Mar 13, 2018
Merged

fix: SSH session multiplexing #616

merged 1 commit into from Mar 13, 2018

Conversation

kotakanbe
Copy link
Member

To enables the sharing of multiple sessions over a single network connection to add controlmaster after host directive.

https://www.cyberciti.biz/faq/linux-unix-reuse-openssh-connection/
https://en.wikibooks.org/wiki/OpenSSH/Cookbook/Multiplexing

before

netstat -an | grep 10.1

tcp4       0      0  192.168.11.6.63618     10.1.54.232.7003    ESTABLISHED
tcp4       0      0  192.168.11.6.63696     10.1.54.232.7003    TIME_WAIT
tcp4       0      0  192.168.11.6.63697     10.1.54.232.7003    TIME_WAIT
tcp4       0      0  192.168.11.6.63698     10.1.54.232.7003    TIME_WAIT
tcp4       0      0  192.168.11.6.63699     10.1.54.232.7003    TIME_WAIT
tcp4       0      0  192.168.11.6.63700     10.1.54.232.7003    TIME_WAIT
tcp4       0      0  192.168.11.6.63701     10.1.54.232.7003    TIME_WAIT
tcp4       0      0  192.168.11.6.63702     10.1.54.232.7003    TIME_WAIT
ebf27116da1ccc13 stream      0      0 ebf27116dc530663                0                0
         0 /Users/kota/.ssh/controlmaster-root-10.1.54.232.7003.VjxphvT8EOdfAyop

After

netstat -an | grep 10.1

tcp4       0      0  192.168.11.6.63618     10.1.54.232.7003    ESTABLISHED
ebf27116da1ccc13 stream      0      0 ebf27116dc530663                0                0
         0 /Users/kota/.ssh/controlmaster-root-10.1.54.232.7003.VjxphvT8EOdfAyop

@kotakanbe kotakanbe merged commit 50b105c into master Mar 13, 2018
kotakanbe added a commit that referenced this pull request Mar 15, 2018
* master:
  fix: change ControlPath to .vuls of SSH option (#618)
  feat: Add -vvv option to scan cmd (#617)
  fix: SSH session multiplexing (#616)
kotakanbe added a commit that referenced this pull request Mar 15, 2018
* v0.5.0:
  fix: change ControlPath to .vuls of SSH option (#618)
  feat: Add -vvv option to scan cmd (#617)
  fix: SSH session multiplexing (#616)
@kotakanbe kotakanbe deleted the ssh-session-multiplexing branch March 16, 2018 06:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant