Cisco Cisco SG300-28 28-Port Gigabit Managed Switch Technical References
SSH Client Commands
120
78-20269-01 Command Line Interface Reference Guide
6
Example
The following example specifies that, username and public key are used for
authentication:
authentication:
switchxxxxxx(config)
# ip ssh-client authentication public-key rsa
6.2
ip ssh-client change server password
Use the ip ssh-client change server password command in Global Configuration
mode to change a password of an SSH client on a remote SSH server.
mode to change a password of an SSH client on a remote SSH server.
Syntax
ip ssh-client change server password server
{host
|
ip-address
|
ipv6-address}
username
username
old-password
old-password
new-password
new-password
Parameters
•
host—DNS name of a remote SSH server.
•
ip-address—Specifies the IP address of a remote SSH server. The IP
address can be an IPv4, IPv6 or IPv6z address. See IPv6z Address
Conventions.
address can be an IPv4, IPv6 or IPv6z address. See IPv6z Address
Conventions.
•
username — Username of the local SSH clients (1 - 70 characters).
•
old-password
— Old password of the local SSH client (1 - 70 characters).
•
new-password— New password for the local SSH client (1 - 70 characters)
The password cannot include the characters "@" and ":".
The password cannot include the characters "@" and ":".
Default Configuration
N/A
Command Mode
Global configuration
User Guidelines
Use the command to change a password on a remote SSH server. Use
so that it matches the new password set on the remote SSH server.