尝试过,但是没有可以关闭的。
linc@Lincs-iMac ~ % ssh linc@172.16.189.14
This is your first login. Please set a new password before proceeding.
Enter old password:
username linc nopassword privilege 15
username linc attributes
ssh authentication publickey ******* hashed
no password strength-check
没有该命令。
no password-policy minimum changes
no password-policy minimum-length
这两个敲了没什么作用。
ASAvGW(config)# no password?
configure mode commands/options:
password password-policy
ASAvGW(config)# no password-policy ?
configure mode commands/options:
authenticate-enable Enable the user authentication feature
lifetime Set password lifetime
minimum-changes Set minimum character changes between old and new
password
minimum-length Set minimum password length
minimum-lowercase Set minimum number of lowercase password characters
minimum-numeric Set minimum number of numeric password characters
minimum-special Set minimum number of special password characters
minimum-uppercase Set minimum number of uppercase password characters
reuse-interval Enter minimum number of unique passwords required to
prohibit reuse
username-check Enable to prevent passwords from matching usernames
ASAvGW(config)# no password ?
configure mode commands/options:
encryption Configure password encryption
ASAvGW(config)# no password
authenticate-enable // 这个参数也尝试过 也是不行。