Hi, I’m trying to deploy a ThinLinc server but I’m running into some issues, I was able to install the server and connect using Linux and macOS with no issues, but after a day I can’t connect again, from what I can see the connection to the VSM Server is completed without a problem, the problem is when it tries to connect to the VSM Agent which is on the same server, I get this error message:
WARNING - SECURITY BREACH
The host key received from the server for the agent you are about to connect to and the host key reported by the agent itself doesn't concur.
This almost certainly means there are a third party trying to listen to the communication between you and the server
Contact your systems administrator about this problem!
You will not be connected to the system at this time
Error: No acceptable host key found.
I’ve tried everything to dig deeper into the problem but I can’t find it, if I restart the vsmserver service or the vsmagent service the same thing keeps happening to me, but if I restart the server (reboot) everything works after the next day, then I get the same error.
Maybe someone can give me a little light on how to investigate this problem further.
Kubuntu 24.04 TLS (Server)
ThinLinc Server 4.18.0
ThinLinc Linux RPM Client 4.18.0
ThinLinc MacOS Client 4.18.0
Server logs during error connection:
==> /var/log/vsmserver.log <==
2025-02-14 16:32:17 INFO vsmserver.session: User with uid 929804178 requested a reconnection to 127.0.0.1:11
2025-02-14 16:32:17 INFO vsmserver: Verifying session 127.0.0.1:11 for pmenino
2025-02-14 16:32:17 INFO vsmserver: Session 127.0.0.1:11 for pmenino is alive and ready for reconnection
Client logs during error connection:
2025-02-14T16:32:09: Log file created for ThinLinc client running on process 4398
2025-02-14T16:32:09: ThinLinc client release 4.18.0 build 3768
2025-02-14T16:32:09: Unable to load system wide configuration
2025-02-14T16:32:09: Unable to load user configuration
2025-02-14T16:32:09: SSH command: "/Applications/ThinLinc Client.app/Contents/lib/tlclient/ssh" -N -o GlobalKnownHostsFile=/dev/null -o UserKnownHostsFile=/dev/null -o UpdateHostKeys=yes -o PubkeyAuthentication=no -o CheckHostIP=no -o NumberOfPasswordPrompts=1 pmenino@XXXXXXXXX -p 22 thinlinc-login master
2025-02-14T16:32:09: SSH pid is 4400
2025-02-14T16:32:09: ssh[E]: CONFIRM HOST KEY: XXXXXXXXX ED25519
2025-02-14T16:32:13: User accepted the new host key.
2025-02-14T16:32:13: Storing host key for XXXXXXXXX
2025-02-14T16:32:13: ssh[E]: NEXT AUTHMETHOD: none
2025-02-14T16:32:13: ssh[E]: AUTH FAILURE
2025-02-14T16:32:13: ssh[E]: NEXT AUTHMETHOD: keyboard-interactive
2025-02-14T16:32:13: ssh[E]: SSH_PROMPT:(pmenino@XXXXXXXXX) Password:
2025-02-14T16:32:14: ssh[E]: Autopushing login request to phone...
2025-02-14T16:32:16: ssh[E]: Success. Logging you in...
2025-02-14T16:32:16: ssh[E]: AUTH SUCCESS
2025-02-14T16:32:16: ssh[E]: CONNECTED
2025-02-14T16:32:17: ssh[E]: UPDATE HOST KEYS: 3 XXXXXXXXX XXXXXXXXX 22
2025-02-14T16:32:17: ssh[E]: UPDATED HOST KEY: XXXXXXXXX
2025-02-14T16:32:17: ssh[E]: UPDATED HOST KEY: XXXXXXXXX
2025-02-14T16:32:17: ssh[E]: UPDATED HOST KEY: XXXXXXXXX
2025-02-14T16:32:17: Updating host keys for XXXXXXXXX.
2025-02-14T16:32:17: ssh[E]: THINLINC-LOGIN: HELLO 4.18.0
2025-02-14T16:32:17: ssh[E]: THINLINC-LOGIN: CONNECTED MASTER
2025-02-14T16:32:17: My hardware address is 184A5319EEE9
2025-02-14T16:32:17: Calling XML-RPC method 'get_capabilities'
2025-02-14T16:32:17: Response: 0: Éxito
2025-02-14T16:32:17: Calling XML-RPC method 'get_user_sessions'
2025-02-14T16:32:17: Response: 0: Éxito
2025-02-14T16:32:17: Calling XML-RPC method 'reconnect_session'
2025-02-14T16:32:17: Response: 0: Éxito
2025-02-14T16:32:17: Malformed host key
2025-02-14T16:32:17: Ignoring allowed host key
2025-02-14T16:32:17: SSH command: "/Applications/ThinLinc Client.app/Contents/lib/tlclient/ssh" -N -o GlobalKnownHostsFile=/dev/null -o UserKnownHostsFile=/dev/null -o UpdateHostKeys=yes -o PubkeyAuthentication=no -o CheckHostIP=no -o NumberOfPasswordPrompts=1 -o HostKeyAlgorithms=&ssh-rsa,rsa-sha2-256,rsa-sha2-512 pmenino@XXXXXXXXX -p 22 -L 55379:127.0.0.1:5911 -R 5015:127.0.0.1:55380 -R 5014:127.0.0.1:55381 thinlinc-login dummy
2025-02-14T16:32:17: SSH pid is 4405
2025-02-14T16:32:17: ssh[E]: CONFIRM HOST KEY: XXXXXXXXX XXXXXXXXX 22 XXXXXXXXX
2025-02-14T16:32:17: No acceptable host key found.