In order to change the SSH port and protocol, you will have to edit sshd_config
nano /etc/ssh/sshd_config

Change Protocol 2,1 -> to Protocol 2
Change #Port 22 -> to some other port and uncomment it
Example:
Protocol 2
Port 2255

Then restart ssh service:
service sshd restart



![node[175421]: pthread_create: Resource temporarily unavailable 2023 08 28 12 15 - node[175421]: pthread_create: Resource temporarily unavailable](https://i0.wp.com/administrator.pejcic.rs/wp-content/uploads/2023/08/2023-08-28_12-15.png?resize=344%2C194&ssl=1)
