I’ve been trying to set up an ubuntu server on my home network and I get an error when I try to access it via ssh:
ssh user@serverip -p 2000
kex_exchange_identification: banner line contains invalid characters
The server’s ubuntu installation is basically fresh and up to date. The only modification I made was to ssh via port 2000 because of my network’s restrictions. I changed that setting in the config file.
When I enable debugging with -v the connection is established
debug1: Connection established.
but contains this line:
kex_exchange_identification: banner line contains invalid characters
Client side I’ve tried connecting with WSL, Putty and a separate computer with Ubuntu natively installed.