HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- execute a remote scripts, but how to input the pro...
Operating System - HP-UX
1830257
Members
1952
Online
110000
Solutions
Forums
Categories
Company
Local Language
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
back
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-12-2005 09:18 AM
05-12-2005 09:18 AM
execute a remote scripts, but how to input the prompted msgs
I am running the following command:
ssh root@remoteserver:/tmp/remote_script
however, in order to run /tmp/remote_script, I have to answer a few prompted questions(ex, "y"/"n"/"all"), how do I enter the answers from local system that is executing the ssh command?
ssh root@remoteserver:/tmp/remote_script
however, in order to run /tmp/remote_script, I have to answer a few prompted questions(ex, "y"/"n"/"all"), how do I enter the answers from local system that is executing the ssh command?
none
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-12-2005 12:50 PM
05-12-2005 12:50 PM
Re: execute a remote scripts, but how to input the prompted msgs
http://www.hpux.ws/buildmail.hpux.text
That link is to a script that shows you how to choose menu items and input data into a script without actually being on keyboard.
Its an example or template, that you can modify.
In actuality it works through a sendmail menu, but the basic scripting concepts you need are in the script.
SEP
That link is to a script that shows you how to choose menu items and input data into a script without actually being on keyboard.
Its an example or template, that you can modify.
In actuality it works through a sendmail menu, but the basic scripting concepts you need are in the script.
SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-12-2005 05:58 PM
05-12-2005 05:58 PM
Re: execute a remote scripts, but how to input the prompted msgs
HI Hanry,
You may want to explore "EXPECT" software also.
It has made my life much simpler.
Regards,
Suraj
You may want to explore "EXPECT" software also.
It has made my life much simpler.
Regards,
Suraj
What we cannot speak about we must pass over in silence.
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP