8/21/2023 0 Comments Ssh keygen cisco asa![]() If( $login_output !~ /\>\s*\z/ ) # Replace '#' is the prompt character here # login output should contain the right prompt characters My $ssh = Net::SSH::Expect->new ( host => $deviceIP, If someone had experiense with getting config using ssh DES - your help would be very useful. I try to use key from known.host linux file (like 7e:XX:f2:1a:xx:18:3c:a6:cc:9d:38:13:61:5b:cc:e3), but there is some errors everytime.Ģ) What is $plaintext? Should i use this variable or not? ![]() My $cipher = Net ::SSH ::Perl ::Cipher -> new ( 'DES', $key ) ġ) to use $key i should do something like my $key="?" what should i use instead of ?. I bealive i should use Net::SSH::Perl::Cipher::DES (i download and install it to spectrum server) I am not strong in perl (or scripting), so could someone help me? It worked fine.īut we have some Cisco devices whitch use only DES (not 3DES). All these scripts use shh and default encription method (3DES). We edited some default NCM scripts to get Cisco ASA and some othere unsupported devices configurations.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |