automatic Config upload with SCP2

  • 0
  • 1
  • Question
  • Updated 5 years ago
  • Answered
Create Date: Dec 5 2013 1:12PM

Hello Specialists,

i wrote an UPM-Profile that scheduled uploaded the switch config file via TFTP.
To be more secure, i manipulate the existing script and put in the command for SCP2 instead of using TFTP.

The Problem is, that SCP2 want's to enter a user password manually to upload the config.
If I enter the password manually, it works. But in UPM-Profile, I got an error: Unrecognized command <password (sambauser)>

Can anybody help me?! 
Are there other solutions to automate upload switch configuration encrypted and not via TFTP?

see attached script

Thanks
Markus

(from mlawrenz)
Photo of EtherNation User

EtherNation User, Employee

  • 20,340 Points 20k badge 2x thumb

Posted 5 years ago

  • 0
  • 1
Photo of EtherNation User

EtherNation User, Employee

  • 20,340 Points 20k badge 2x thumb
Create Date: Dec 5 2013 4:29PM

hello Mlawrenz

Great question.  Let me post this internally and see if I can get an answer for you

P

(from Paul_Russo)
Photo of EtherNation User

EtherNation User, Employee

  • 20,340 Points 20k badge 2x thumb
Create Date: Dec 5 2013 4:30PM

I do not see the script can you try and upload again or copy and paste it?

Thanks
P

(from Paul_Russo)
Photo of EtherNation User

EtherNation User, Employee

  • 20,340 Points 20k badge 2x thumb
Create Date: Dec 6 2013 2:05PM

Hello Markus

I did hear back from an SE who has a lot of scripting experience and he has not found a way to get interactive commands in scripts.  We will have better access to do this with Python when it comes out in the next year.


Thanks
P

(from Paul_Russo)
Photo of EtherNation User

EtherNation User, Employee

  • 20,340 Points 20k badge 2x thumb
Create Date: Dec 10 2013 10:06AM

Hello,

thanks for your reply. When does Python implemented into XOS? Does it comes with XOS16.0 next year?????
That will be great!!!!

Try to upload my script again.... got an error message: An error has occurred. Error: is currently unavailable.

regards MLawrenz

(from mlawrenz)

This conversation is no longer open for comments or replies.