login about faq

Hello could someone assist me please, I'm not a programmer, but I would like to learn and the first thing i would like todo is write a batch file to auto execute ssh secure shell and then connect to a remote system and run a restart command and answer Y to the prompt then exit, Sounds easy, I have got the ssh secure shell app to open, and thats as far as I have got, I want to use the profile i have created which puts the first password in, then you get prompted for the next username and password, then it need to run the reload command

it looks somthing like this

xxx.xxx.xxx.xxx pw username pw execute en reload y

exit

I would then use a schedule task from my pc to run the batch file If anyone could that would be great Thanks PS

asked Feb 02 '15 at 17:23

AVAGO's gravatar image

AVAGO
1111

Be the first one to answer this question!
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or __italic__
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×63
×6
×5
×2

Asked: Feb 02 '15 at 17:23

Seen: 3,206 times

Last updated: Feb 02 '15 at 17:23

All user contributed content licensed under the cc-by-sa license.
Powered by OSQA.