How to pass 2nd level Authentication using the script

Advertisement

ketanmangal1982
Guest

How to pass 2nd level Authentication using the script

I am using the script to transfer files from the /cxc/logs folder on my Acme SBC to my local machine

I am facing issues to execute a daily command before synchronizing the folder
i need to run show version >>version.txt command on the remote server ,however the problem is this is a application level command ,not a shell command .

SO when i execute my script ,how can i define a 2nd level password

Eg ,when i SSH to the box i have 2 username and passwords
1st is for root
2nd is for application (like a enable password )

My sample script is like

open 2600LAB
call SHOW VERSION >>version.txt---- This only runs on the application level
synchronize "d:\logs\version.txt /cxc/logs/version.txt"
call cd /cxc/logs
call rm version.txt

Reply with quote

Advertisement

Advertisement

You can post new topics in this forum