User Tools

Site Tools


dellemc

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
dellemc [2022/10/06 15:14] – Navigation wolfodellemc [2025/07/31 08:12] (current) – SSH Auth wolfo
Line 25: Line 25:
 | ::: | || End config mode | ''end'' | | ::: | || End config mode | ''end'' |
 ^ Main ^^| Make persistent/write config | ''wr'' \\ ''copy running-config startup-config'' | ^ Main ^^| Make persistent/write config | ''wr'' \\ ''copy running-config startup-config'' |
 +
 +===== Public Key Authentication =====
 +==== Authenticate with OS9 =====
 +<code bash>
 +conf t
 +ip ssh rsa-authentication enable
 +exit
 +start shell # (login as admin)
 +echo "$PUBKEY" > /f10/flash/id_rsa.pub
 +exit
 +
 +ip ssh rsa-authentication my-authorized-keys flash://id_rsa.pub
 +wr</code>
 +
 +==== Authenticate with OS10 ====
 +<code bash>
 +conf t
 +username admin sshkey "$PUBKEY"
 +ex
 +wr
 +</code>
dellemc.txt · Last modified: by wolfo

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki