-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
ssh to wrong node #2396
Comments
can you add a little more information for us?, for example, tctl get nodes output will be helpful here |
I think this is the same issue I ran into from our convo in slack. It looks like
Here's what it looks like from the user perspective, where the short node name uses the IPv6 loopback address above and logins into the proxy, and if you use the FQDN is appears to resolve the IPv4 address in DNS and connects to the right node:
Secondly the reason that the SSH succeeds is due to |
I guess that web find node by hostname as unique id. So if hostname is same, should ssh
|
I think the ability to SSH into a wrong node by accident is a dangerous one. You may SCP something into the wrong hands without noticing. Proposal for CLIIf the target argument to
@klizhentas please review. |
sounds good, but could potentially break some automation scripts relying on the old behavior. |
BTW if the running cost of |
@kontsevoy removing this from the milestone for now |
I've had input from another customer that this is an issue. I've labelled the issue and added it to a milestone. |
What happened:
When i click the root button from web, ssh to wrong node. ifconfig display the different ip to the Address of web. And it is always ssh to the same wrong node.
What you expected to happen:
SSH to right node.
How to reproduce it (as minimally and precisely as possible):
The Hostname of the wrong node is the same of all. And Tips:'abrt-cli status' timed out
Environment:
teleport version
): v3.0.1tsh version
): v3.0.1Browser environment
chrome
Relevant Debug Logs If Applicable
The text was updated successfully, but these errors were encountered: