-
Notifications
You must be signed in to change notification settings - Fork 1.8k
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Ansible integration with Teleport #2217
Comments
Worth mention that I also tried to steps in the docs, including the tweaks in the ~/.ssh/config file, but didn't manage to overcome this error:
I'm fine using the symlink approach, if that works with Ansible. |
@andersonaraujo you need to turn this flag off in Ansible configuration. This particular flag has no meaning for Refer to Ansible documentation for how you can update |
@kontsevoy I'm afraid that's not the only |
@andersonaraujo you need to generate a certificate with a longer expiration date, specifically for Anbisle robots: |
@klizhentas I want to add this for consideration for 3.1 (support |
Closing this and creating a more specific #2330 |
@andersonaraujo how did you change the OpenSSH to use the teleport using ssh command , can you please share the steps. |
@faheemrao basically you have to:
Apparently you can skip step 1 #2217 (comment), but I never got that working because the certificate doesn't seem to be openssh-compatible (but I didn't spend too much time on it, tbh). |
What happened:
I followed the steps from this comment #1353 (comment) by @kontsevoy and I managed to successfully login into one of the nodes using the
ssh
symlink (manually typing the command).However, when I run Ansible, it uses some additional parameters and the ssh command is failing:
Basically the
tsh -> ssh
symlink doesn't recognize the-o
parameter:What you expected to happen:
Given that
tsh
is supposed to be a fully compatible ssh client, I'd expect thetsh
binary (accessed via symlink) to recognize the ssh-o
parameter.How to reproduce it (as minimally and precisely as possible):
Environment:
teleport version
): Teleport v2.7.2 git:v2.7.2-0-ge3054bf7tsh version
): Teleport v2.7.2 git:v2.7.2-0-ge3054bf7NAME="CentOS Linux"
VERSION="7 (Core)"
ID="centos"
ID_LIKE="rhel fedora"
VERSION_ID="7"
PRETTY_NAME="CentOS Linux 7 (Core)"
The text was updated successfully, but these errors were encountered: