-
-
Notifications
You must be signed in to change notification settings - Fork 155
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
Several questions #190
Comments
Hi @pikeas, thank you for all these questions; it helps me to understand the usage and feeling of users 👍
Good idea, I need to give more tests to this feature so it can be integrated transparently in
Ok, I need to think a little bit more about doing it globally or only for hosts that aren't wildcards or regexp Two main options:
What do you think?
Good idea, I will do it
Yes, the library used to parse CLI commands does not support "Count boolean" flags yet, so I need to send a PR to this library first, or use a custom parsing just for this command As a quick fix, you should be able to call
That comes from the way This option is particularly useful when developing, which usage do you expect from this option, as a user?
Try
I can't remember if it was intentional or not; I will try to switch to the built-in alias support for Thanks again for these questions |
Thanks for the reply, @moul! Would you like separate issues for the changes in 1, 2, and 4? 3: (hostname not specified) - No strong feelings on my end about what's displayed. 5: (ssh -vv) - Thinking about it some more, this is a bigger scope than 6: (assh connect --dry-run) - My expectation is that this command will succeed if my config is valid, and show me what the connection will look like. When it failed, I assumed that meant I had a problem with that host. I think your answer to 7) is what I really need. :-) 8: (ssh aliases) - I've realized there's another issue here. Example ssh config:
ssh uses the first value found for each setting. This config will use the
This generates the following config file:
The ordering has been reversed! This will use the wrong key file for foo servers. |
Yes, definitely! 🍰
Ok, so I will start with option 2
Totally agree; my goal for this wrapper is to act 100% like
That's very strange, the standard Do not hesitate to give me an example if you encounter this issue again
I think that you should be interested in this feature idea: #82
Nice catch, you can open a new bug for this :) |
There is already an open issue for |
I've pulled out most of these into separate issues. Regarding generated ~/.ssh/config not being compatible, here's an example of what I mean:
This entry is only usable by plain ssh because In other words, assh locks you in to connecting via assh, it's currently not possible to use assh only for managing ~/.ssh/config and not as a connection wrapper. What if assh instead generated:
|
I'm an experienced ssh user and new to assh. I have several questions about assh, some of which may be actual issues. I'm grouping them into one issue as a first pass to keep noise down.
I have
serveraliveinterval: 60
in my defaults.assh config list
displays this asServerAliveInterval: <
. Why is it displaying<
instead of60
?Is support planned for ProxyJump? It's the preferred alternative to -W/nc.
When my assh config has a host entry with no hostname (for example. "bastion.domain.com"),
assh config list
displays this asuser@[hostname_not_specified]
. Shouldn't this fallback to displaying the given host? Currently, I need a redundanthostname
key in my config to fix the output.Prepending "[custom options] foo=bar" in
assh config list
is hard to parse visually, because regular options are at a different indent level. Could this be "foo=bar [override]" instead?assh wrapper ssh
doesn't support-vv
. I expected this to pass through to ssh.Running
assh connect host.domain.com --dry-run
seems to always fail with "No such available gateway", even whenassh wrapper ssh host.domain.com
works.Is there any way to see the full ssh command generated by
assh connect
? Currently, "Executing proxy command: exec assh connect --port=22 host.domain.com", which helps for debugging assh problems, but not one level down for problems with ssh.Why does
alias
create a separate entry in ~/.ssh/config? ssh already supports "Host name othername" for multiple aliases.The text was updated successfully, but these errors were encountered: