Scripting In Putty Error
- From: Richard.Hornberger@xxxxxxxxxxxxxxx
- Date: 14 May 2007 07:37:37 -0700
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.
.
- Follow-Ups:
- Re: Scripting In Putty Error
- From: Darren Dunham
- Re: Scripting In Putty Error
- From: Richard . Hornberger
- Re: Scripting In Putty Error
- Prev by Date: Win Putty no connection with beep. No error message. HowTo fix registry
- Next by Date: Defining root directory for sftp-server logins
- Previous by thread: Win Putty no connection with beep. No error message. HowTo fix registry
- Next by thread: Re: Scripting In Putty Error
- Index(es):
Relevant Pages
|
|