Security Commands 1069ExampleThe following example specifies the port to be used by the SSH server as8080.console(config)#ip ssh port 8080ip ssh pubkey-authUse the ip ssh pubkey-auth command in Global Configuration mode toenable public key authentication for incoming SSH sessions. To disable thisfunction, use the no form of this command.Syntaxip ssh pubkey-authno ip ssh pubkey-authDefault ConfigurationThe function is disabled.Command ModeGlobal Configuration modeUser GuidelinesPublic key authentication allow administrators with an SSH client access tothe switch without requiring a password. Use the crypto key pubkey-chain sshuser-key command to configure the administrators public key for use by theSSH server. AAA authentication is independent from this configuration.ExampleThe following example enables public key authentication for incoming SSHsessions.console(config)#ip ssh pubkey-auth