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

Configure ports and username separately #4

Open
ivan-volnov opened this issue Apr 16, 2021 · 1 comment
Open

Configure ports and username separately #4

ivan-volnov opened this issue Apr 16, 2021 · 1 comment

Comments

@ivan-volnov
Copy link

Currently it's impossible to connect to multiple ssh servers on the same IP but different ports.
If I set option -o to specify the port, I cant set port of the second server.
For instance if I have a bunch of machines over port forwarding.

The same situation is for different users on the same host.

I just found a way to specify the params using ~/.ssh/config but anyway it's not quite convenient when you need to connect to a new host without adding it to config

@encbladexp
Copy link

Recommendation: Really use ~/.ssh/config for such stuff, tooling like clusterssh, tmux-cssh isn't made to cover all specific things of each environment.

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

No branches or pull requests

2 participants