When I try to run SSH on any other port than 22 (for security reasons), I can connect and everything works fine for a little while, but then after a couple of minutes the connection drops. I've tried various different random port numbers but it's always the same, I can't stay connected. On port 22 I can stay connected for ages without any problem but it keeps getting attacked so I want to change it, but I also want to be able to stay connected
Has anyone else had this problem or can suggest a solution?