I'd like to execute a set of commands on a cisco device:
conf terminal
ip scp server enable
When performed manually using putty, this works fine. I'm trying to do the same using plink, but have been unsuccessful.
Attempt 1
plink -ssh [email protected] "conf terminal; ip scp server enable"
Attempt 2
plink -ssh [email protected] -m script.sh
It appears that an "Enter" keystroke must be sent after the configure terminal command. Others. have used VBScript to send the keystroke. Is it possible to do this natively in plink instead?