mirror of
https://github.com/ovh/the-bastion.git
synced 2026-05-09 08:25:27 +02:00
[GH-ISSUE #419] Arista - Add ssh key on a switch with "from" pattern #110
Labels
No labels
answered
bug
documentation
enhancement
enhancement
feature
feature
kept-open-for-info
pull-request
question
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/the-bastion#110
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @gotakasan on GitHub (Sep 21, 2023).
Original GitHub issue: https://github.com/ovh/the-bastion/issues/419
Hello,
I'm trying to add an ssh key on my Arista switch. But because of "from=IP" pattern (I guess it's because of that), it's impossible to add the server on my Bastion.
Do you ever experienced something similar (with Arista or maybe another network equipment) and find a solution ?
Here is my Arista output :
Bastion output :
Thanks !
@speed47 commented on GitHub (Sep 25, 2023):
Hello @gotakasan ,
It's extremely probable that the network device doesn't parse the "from" header properly, as you suspect. I would expect it to have rejected your key if that was the case, but maybe the validity of the key is not checked on input. You might have to add it again but without the "from" prefix. As long as you have configured proper ACL on your Arista so that connections using SSH are only allowed from your bastion cluster, omitting the "from" is not a problem.