mirror of
https://github.com/vyos/vyos-documentation.git
synced 2025-10-26 08:41:46 +01:00
ssh: sync branches
This commit is contained in:
parent
7274c1d33d
commit
51a76e1b04
@ -157,7 +157,7 @@ Operation
|
||||
``/config/auth/id_rsa_rpki.pub``
|
||||
will be created.
|
||||
|
||||
.. opcmd:: generate public-key-command name <username> path <location>
|
||||
.. opcmd:: generate public-key-command user <username> path <location>
|
||||
|
||||
Generate the configuration mode commands to add a public key for
|
||||
:ref:`ssh_key_based_authentication`.
|
||||
@ -169,7 +169,7 @@ Operation
|
||||
|
||||
.. code-block:: none
|
||||
|
||||
alyssa@vyos:~$ generate public-key-command name alyssa path sftp://example.net/home/alyssa/.ssh/id_rsa.pub
|
||||
alyssa@vyos:~$ generate public-key-command user alyssa path sftp://example.net/home/alyssa/.ssh/id_rsa.pub
|
||||
# To add this key as an embedded key, run the following commands:
|
||||
configure
|
||||
set system login user alyssa authentication public-keys alyssa@example.net key AAA...
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user