You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Oh these are one of those dodgy boxes where SSH is without authentication. Aireos model is the same (ssh lets in every user, without password and authentication is handled outside ssh)
Essentially you need to create new model, as this is new OS.
You could get stared like this
mkdir ~/.config/oxidized/model
cat > ~/.config/oxidized/model/operatingsystemname.rb
class OperatingSystemName < Model
comment '! '
prompt /regexp/
cmd 'show running-config' do |cfg|
cfg
end
cfg :telnet, :ssh do
username /^User Name:\s_/
password /^\r?Password:\s_/
end
end
Then set your model type as operatingsystemname and it should try to use this model.
You can also debug output from ssh/telnet via config
input:
debug: debug-session-file.txt
(You'll need version from github for that).
If you can give remote access to device, I can write the model for you.
Oxidized fails to authenticate using Telnet or SSH connection with IOS model on Cisco SG300-52.
Manually connecting looks like:
Using Oxidized, debugging
@output
in theexpect
method shows:Yes, there is a mismatched
\r
in there. It appears the first instance of a line ending is\r\n\r
.The text was updated successfully, but these errors were encountered: