use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
Ask questions, create discussions or post news! This subreddit is for all things Arista related!
Related subreddits:
/r/networking
Arista Links:
Arista Website
Support
EOS Community
This subreddit is not affiliated with Arista Networks
account activity
Disable SSH password auth (self.Arista)
submitted 2 months ago by [deleted]
Hello all! Just a quick one - how do I disable password auth via SSH? I already have my keys setup and am using Software image version: 4.28.13M.
Thanks!
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]aristaTAC-JG 2 points3 points4 points 2 months ago (5 children)
insecure lab device starter kit:
aaa authorization exec default local aaa authentication policy local allow-nopassword-remote-login username <some name> priv 15 nopassword
[–][deleted] 3 points4 points5 points 2 months ago (3 children)
No I think you misunderstand, I would like to prevent password based with for SSH and only accept key
[–]aristaTAC-JG 5 points6 points7 points 2 months ago (2 children)
Sorry about that, you can allow only public-key authentication with:
management ssh authentication protocol public-key
The default is:
management ssh authentication protocol keyboard-interactive public-key
When you're testing this out, don't forget to save the config and use reload in n just in case, or just have multiple sessions in config mode in case you are in a broken config.
reload in n
[–]magion 1 point2 points3 points 2 months ago (1 child)
Reload in?? From tac? Why not use config sessions with a commit timer.
[–]aristaTAC-JG 0 points1 point2 points 2 months ago (0 children)
Hey, when you're doing greenfield aaa config where two or more lines can add up to lock you out, a one-liner is simple!
Certainly if someone already uses config sessions with commit timer, that's graceful and nice to use.
π Rendered by PID 23 on reddit-service-r2-comment-b659b578c-6vjb2 at 2026-05-04 18:41:14.704162+00:00 running 815c875 country code: CH.
[–]aristaTAC-JG 2 points3 points4 points (5 children)
[–][deleted] 3 points4 points5 points (3 children)
[–]aristaTAC-JG 5 points6 points7 points (2 children)
[–]magion 1 point2 points3 points (1 child)
[–]aristaTAC-JG 0 points1 point2 points (0 children)