To configure allowed protocols on an SSH server, follow these steps:
1. Open the SSH configuration file on the server. The location of the file varies depending on the operating system and the SSH server being used.
1. Locate the line that starts with “Protocol”.
1. Modify the line to allow the desired protocol(s). For example, to allow only SSH protocol version 2, change the line to:
Protocol 2
Alternatively, to allow both version 1 and version 2, change the line to:
Protocol 1,2
1. Save the changes to the configuration file.
1. Restart the SSH server for the changes to take effect.
Note: It is recommended to only allow SSH protocol version 2 as version 1 is considered insecure and has been depreciated.