cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
3064
Views
0
Helpful
1
Replies

plink-Line has invalid autocommand

Dont Know
Level 1
Level 1

Hello.

I am trying to backup my ASA and Router configs.

I am using plink to do this.  My commands work just fine with

my ASAs but with my two 7606 routers I get "Line has invalid autocommand".

If I run the commands manually they work without any issue.

I am very confused why this is NOT working with the 7606s but fine with the ASAs..  Any suggestions??

 

Thanks

Brian

 

 

 

// command i am executing

plink.exe -ssh -2 -l myuser -pw mypassword 10.14.19.29 -batch -m 7606-1.txt

 

// contents of the command file

en
mypassword
copy startup-config tftp:
10.5.5.5
7606-1
exit

 

 

1 Reply 1

Support-
Level 1
Level 1

I know this thread is really old, but wondering if anyone has a fix for this. Trying to do something similar.