Skip to content

Commit

Permalink
ssh: sync branches
Browse files Browse the repository at this point in the history
  • Loading branch information
rebortg committed Jan 30, 2023
1 parent 7274c1d commit 51a76e1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/configuration/service/ssh.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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`.
Expand All @@ -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...
Expand Down

0 comments on commit 51a76e1

Please sign in to comment.