04-11-2020, 03:10 PM
A life lesson to learn: Never disconnect your old SSH session that is running on the previous port before you have the new SSH port working correctly 100%! You will regret it the moment you closed the old session and can no longer connect via the new and the old port. This will especially be frustrating in cases where you have no means of emergency access to the VPS.
I think this belongs into any guide about changing SSH configurations. You can apply this even when setting up things like public key authentication or doing other things. One wrong configuration line and you can lock yourself out, too.
Otherwise this is a perfectly working guide.
I think this belongs into any guide about changing SSH configurations. You can apply this even when setting up things like public key authentication or doing other things. One wrong configuration line and you can lock yourself out, too.
Otherwise this is a perfectly working guide.
![[Image: zHHqO5Q.png]](https://i.imgur.com/zHHqO5Q.png)