Re: Scripting In Putty Error
- From: Richard.Hornberger@xxxxxxxxxxxxxxx
- Date: 17 May 2007 07:15:53 -0700
On May 14, 10:37 am, Richard.Hornber...@xxxxxxxxxxxxxxx wrote:
Hi All,
I'm trying desperitly to write code that will work for Putty. Long
story short, I'm trying to write a batch file that will launch Putty
and read a script file which will run a series of commands. My setup
in the batch script is as follows:
putty.exe -ssh xxx.xxx.xxx.xxx -l Username -pw Password -m lc.txt
Then, within the contents of the text file I have the following:
ena
"Enable Password"
configure terminal
interface eth 0/17
shutdown
exit
interface eth 0/23
shutdown
exit
exit
exit
It dosn't even get to executing my text file and I recieve the
following:
Server refused to start a shell/command.
Bump, Please Help!
.
- References:
- Scripting In Putty Error
- From: Richard . Hornberger
- Scripting In Putty Error
- Prev by Date: Re: Server refusing connection.
- Next by Date: Re: Scripting In Putty Error
- Previous by thread: Scripting In Putty Error
- Next by thread: Re: Scripting In Putty Error
- Index(es):
Relevant Pages
|
|