Querying and Setting the SSH User Password Authentication Enablement Status (sshpasswordauthentication)
Function
The sshpasswordauthentication command is used to enable or disable SSH user password authentication.
Format
ipmcget -t user -d sshpasswordauthentication
ipmcset -t user -d sshpasswordauthentication -v <enabled | disabled>
Parameters
Parameter |
Description |
Value |
---|---|---|
enabled |
Specifies that SSH user password authentication will be enabled. |
– |
disabled |
Specifies that SSH user password authentication will be disabled. |
– |
Usage Guidelines
None
Example
# Enable SSH user password authentication.
iBMC:/->ipmcset -t user -d sshpasswordauthentication -v enabled
Set SSH password authentication successfully.
# Query the enablement status of SSH user password authentication.
iBMC:/-> ipmcget -t user -d sshpasswordauthentication
SSH Password Authentication : enabled