service ssh protocol-version <version>
Specifies which versions of SSH are enabled.
SSH version 2 alone is enabled.
- version
- Specifies which versions of SSH are enabled. Supported values are as follows:
- v1
- SSH version 1 alone is enabled.
- v1
- SSH version 1 alone is enabled.
- v2
- SSH version 2 alone is enabled. This is the recommended setting as v1 is considered insecure.
- all
- Both SSH version 1 and SSH version 2 are both enabled.
Configuration mode
service {
ssh {
protocol-version version
}
}
Use this command to specify which versions of SSH are enabled.
Use the set form of this command to specify which versions of SSH are enabled.
Use the delete form of this command to restore the default protocol-version configuration.
Use the show form of this command to view the protocol-version configuration.