Unable to connect to cluster with tsh #9807
-
I've set up a teleport cluster and while the web proxied ssh sessions work as expected, I'm running into an error when trying to connect with tsh.
teleport start --debug //error on login
teleport start --debug //Empty SSH server address on startup
teleport.yaml version: v2
teleport:
nodename: teleport
data_dir: /var/lib/teleport
log:
output: stderr
severity: DEBUG
format:
output: text
ca_pin: ***
diag_addr: ""
auth_service:
enabled: "yes"
listen_addr: 0.0.0.0:3025
public_addr: ***:3025
cluster_name: ***
proxy_listener_mode: multiplex
ssh_service:
enabled: "yes"
listen_addr: 0.0.0.0:3022
public_addr: ***:3022
labels:
env: example
commands:
- name: hostname
command: [hostname]
period: 1m0s
proxy_service:
enabled: "yes"
tunnel_listen_addr: 0.0.0.0:3024
tunnel_public_addr: ***
kube_listen_addr: 0.0.0.0:3026
kube_public_addr: ***:3026
web_listen_addr: 0.0.0.0:4433
public_addr: ***:4433
https_keypairs: []
https_cert_file: ***
https_key_file: ***
kubernetes_service:
enabled: yes
listen_addr: 0.0.0.0:3027
kubeconfig_file: "/etc/kube/config" I replaced some text in the logs with *** for security/privacy reasons. The log outputs suggest to me that the SSH server proxy isn't running, I'm unsure why this is and I haven't been able to find any info online that clarifies what this message means, I suspect that there's some configuration error that causes the SSH proxy not to start correctly but I've been unable to find what I need to change for it to work. Any pointers to what I'm missing? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
This looks like an issue relating to the new (I'm assuming you don't particularly care about using it because the ports on all your |
Beta Was this translation helpful? Give feedback.
This looks like an issue relating to the new
multiplex
listener mode. If you just remove thatproxy_listener_mode: multiplex
line and restart, things should work as expected.(I'm assuming you don't particularly care about using it because the ports on all your
public_addr
entries are different)