-
Notifications
You must be signed in to change notification settings - Fork 928
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ssh custom parameters #3265
Comments
I have the exact same question. I am trying to connect to a Cisco C1000 running legacy IOS and this is needed. When I connect from inside the docker container I can connect with:
I cannot find a way to add this to the config file. |
I'm not directly associated with Oxidized, but based on my understanding: From what I see in the Oxidized code Oxidized does not support custom ssh_options directly. However, you can configure your "~/.ssh/config" to include settings like these: Host switch
HostName switch
User user
IdentityFile /home/oxidized/.ssh/id_rsa
KexAlgorithms diffie-hellman-group14-sha1
HostKeyAlgorithms ssh-rsa
PubkeyAcceptedKeyTypes ssh-rsa If you are running Oxidized inside a container, make sure the container has access to the SSH configuration and key files. This involves mounting the relevant SSH files into the container and ensuring proper permissions are set. After setting this up, it should work. edit: ssh_keys:
ssh_kex:
ssh_encryption:
ssh_host_key:
ssh_hmac: Feel free to correct me |
snippet from my config file:
|
nice ! thanks ! is theree any doc about that ? |
@skiera6 already pointed to the documentation for the ssh options. I just use groups to apply them to all devices of the same model. The exact key names can be found in the ssh_config man pages |
Hello,
I need to pass a custom parameter to ssh for connecting to old equipments, like
-o 'PubkeyAcceptedKeyTypes +ssh-rsa'
I'm quite new to oxidized and could not find the way to do that
in rancid I used to do in .cloginrc
add sshcmd * {ssh\ -oPubkeyAcceptedKeyTypes=+ssh-rsa}
Is there a way to do something equivalent with oxidized ?
Regards
The text was updated successfully, but these errors were encountered: