You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
However, I was unable to connect using the ssh command when logged into the TrustedCluster:
% tsh login --proxy=teleport.hoge.com:443 --auth=local --user=admin
% tsh clusters
Cluster Name Status Cluster Type Labels Selected
-------------------------- ------ ------------ ------ --------
teleport.hoge.com online root *
common.teleport.hoge.com online leaf
% tsh config --proxy=teleport.hoge.com:443 > ssh_config_teleport
% ssh -p 22 -F ssh_config_teleport [email protected]
ERROR: failed connecting to host serv1.common:22: failed to receive cluster details response
failed to dial target host
direct dialing to nodes not found in inventory is not supported
Connection closed by UNKNOWN port 65535
% tsh ssh --cluster=common.teleport.hoge.com root@serv1
[root@serv1 ~]#
I also tried connecting using the ssh command while logged into the common cluster via tsh, but I was still unsuccessful.
Is there a way to connect to a node in the LeafCluster via a TrustedCluster using the ssh command instead of tsh?
% tsh login --proxy=teleport.hoge.com:443 --auth=local --user=admin
% tsh clusters
Cluster Name Status Cluster Type Labels Selected
-------------------------- ------ ------------ ------ --------
teleport.hoge.com online root *
common.teleport.hoge.com online leaf
% tsh login common.teleport.hoge.com
% tsh clusters
Cluster Name Status Cluster Type Labels Selected
-------------------------- ------ ------------ ------ --------
teleport.hoge.com online root
common.teleport.hoge.com online leaf *
% tsh config --proxy=common.teleport.hoge.com:443 > ssh_config_teleport
ERROR: Unable to connect to ssh proxy at common.teleport.hoge.com:3023. Confirm connectivity and availability. Error: ssh: handshake failed: open /Users/sample-use/.tsh/keys/common.teleport.hoge.com/sample-use-x509.pem: no such file or directory
no credentials
%
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hello!
I would like to connect to a node in the LeafCluster via a TrustedCluster using the ssh command instead of tsh.
I was able to connect when I logged into the LeafCluster directly, as shown below:
However, I was unable to connect using the ssh command when logged into the TrustedCluster:
I also tried connecting using the ssh command while logged into the common cluster via tsh, but I was still unsuccessful.
Is there a way to connect to a node in the LeafCluster via a TrustedCluster using the ssh command instead of tsh?
Beta Was this translation helpful? Give feedback.
All reactions