erl-chat-server
erl-chat-server copied to clipboard
Unable to ssh into server.
I started a server on port 8080.chat_server:start(8080)
I then tried to SSH into the server with
ssh 100.115.92.201 -p 8080
but it gives me this error:
=CRASH REPORT==== 9-Apr-2022::18:32:02.710764 ===
crasher:
initial call: tcp_server:accept_loop/1
pid: <0.85.0>
registered_name: []
exception error: no match of right hand side value {"SSH-2.0-OpenSSH_7.9p1 Debian-10+deb10u2\r\n",
[]}
in function chat_server:pre_loop/1 (src/chat_server.erl, line 14)
ancestors: [chat_server,<0.82.0>]
message_queue_len: 0
messages: []
links: [#Port<0.8>]
dictionary: []
trap_exit: false
status: running
heap_size: 376
stack_size: 27
reductions: 968
neighbours:
I hope later you can add SSH support and/or fix this error.