tmate-io / tmate-ssh-server

tmate SSH server
https://tmate.io
Other
626 stars 146 forks source link

*Cannot setup terminal* on client connect #88

Closed aparcar closed 3 years ago

aparcar commented 3 years ago

Hi, I'm currently in the process to port the tmate server to OpenWrt. While it runs, reads keys and open up on a port, it fails to setup a terminal once a client tries to connect.

I have all dependencies installed based on the documentation I could fine (e.g. Dockerfiles). Any recommendation what could be the issue?

Connection accepted ip=192.168.1.166
Bootstrapping ssh client ip=192.168.1.166
Exchanging DH keys
[ssh_server_connection_callback] ssh_server_connection_callback: SSH client banner: SSH-2.0-libssh_0.9.3
[ssh_analyze_banner] ssh_analyze_banner: Analyzing banner: SSH-2.0-libssh_0.9.3
[ssh_kex_select_methods] ssh_kex_select_methods: Negotiated curve25519-sha256,ssh-ed25519,aes256-gcm@openssh.com,aes256-gcm@openssh.com,hmac-sha2-256-etm@openssh.com,hmac-sha2-256-etm@openssh.com,zlib@openssh.com,zlib@openssh.com,,
[ssh_packet_server_curve25519_init] ssh_packet_server_curve25519_init: SSH_MSG_KEX_ECDH_REPLY sent
[ssh_init_rekey_state] ssh_init_rekey_state: Set rekey after 4294967296 blocks
[ssh_init_rekey_state] ssh_init_rekey_state: Set rekey after 4294967296 blocks
[ssh_packet_server_curve25519_init] ssh_packet_server_curve25519_init: SSH_MSG_NEWKEYS sent
[ssh_packet_newkeys] ssh_packet_newkeys: Received SSH_MSG_NEWKEYS
[ssh_auth_reply_success] ssh_auth_reply_success: Enabling delayed compression OUT
[ssh_auth_reply_success] ssh_auth_reply_success: Enabling delayed compression IN
[DMVS...] Spawning daemon ip=192.168.1.166
[DMVS...] fatal: Cannot setup terminal
aparcar commented 3 years ago

The terminfo file screen-256color was missing, sorry for the noise.

nviennot commented 3 years ago

Thank you, your noise is welcomed