Set Sshkey - Cisco Firepower 4100 Command Reference Manual

Fully integrated next-generation firewall
Hide thumbs Also See for Firepower 4100:
Table of Contents

Advertisement

set sshkey

set sshkey
To specify an SSH key that allows access without a password, use the set sshkey command.
set sshkey [none|user_ssh_key]
Syntax Description
none
user_ssh_key
Local user mode
Command Modes
Command History
Release
1.1(1)
If you press Enter after entering set sshkey, you are prompted to provide the SSH key, one line at a time.
Usage Guidelines
Enter ENDOFBUF to finish. Press Ctrl-C to abort.
Example
This example shows how to specify a public SSH key for the current local user:
FP9300-A /security/local-user # set sshkey
"ssh-rsa
AAAAB3NzaC1yc2EAAAABIwAAAIEAuo9VQ2CmWBI9/S1f30klCWjnV3lgdXMzO0WUl5iPw85lkdQqap+NFuNmHcb4K
iaQB8X/PDdmtlxQQcawclj+k8f4VcOelBxlsGk5luq5ls1ob1VOIEwcKEL/h5lrdbNlI8y3SS9I/gGiBZ9ARlop9LDpD
m8HPh2LOgyH7Ei1MI8="
FP9300-A /security/local-user* # commit-buffer
FP9300-A /security/local-user #
Related Commands
Command
create local-user
set password
Cisco Firepower 4100/9300 FXOS Command Reference
226
(Optional) Enter the none keyword to clear the user's SSH public key.
(Optional) Enter or paste the user's public SSH key.
Modification
Command added.
Description
Creates a new local-user account.
Specifies a password for a user account.
S Commands

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Firepower 9300

Table of Contents