- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Remote shell
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Forums
Discussions
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
Community
Resources
Forums
Blogs
- 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
06-19-2002 07:17 AM
06-19-2002 07:17 AM
Remote shell
does anybody know an alternative to remote shell to execute procedure from a Windows client on a HP-UX server?
Thanks in advance for your help and your support.
Luca
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-19-2002 07:32 AM
06-19-2002 07:32 AM
Re: Remote shell
The HP-UX server is not going to allow you to run a procedure from a remote client with some sort of authentication, which means you either have to write a C program which runs on your PC which talks to a C program running as a deamon on your HP-UX server to do a task - but this is difficult to setup.
To do it the easy way you need to use;
remsh, rsh, rexec
ssh, ssh2
It is possible to write a script to use telnet (with the appropriate waits to allow an automatic userid+password to be passed in a script) but this will take some script writing. You can search the itrc forums for how to do this.
Or you could use something like ftp to the HP-UX server then upload a script to a directory where a cron job which is already running will pick it up and run it.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-19-2002 07:49 AM
06-19-2002 07:49 AM
Re: Remote shell
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-19-2002 07:57 AM
06-19-2002 07:57 AM
Re: Remote shell
What do you want to do though? maybe PC-NFS would fit the bill or simple ftp. - just some ideas if they help great
Tim
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-20-2002 03:57 AM
06-20-2002 03:57 AM
Re: Remote shell
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-20-2002 04:01 AM
06-20-2002 04:01 AM
Re: Remote shell
http://us1.samba.org/samba/samba.html
Tim
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-20-2002 04:04 AM
06-20-2002 04:04 AM
Re: Remote shell
If the procedures are the same but needed on-demand, fire-up apache and connect via a browser to a webpage that does some authentication and then allows for a script to be run (and auto-disconnects if the authentication fails).
Or, create a user ID that exec's a script that has a menu to run the procedures that you need, and trap all the usual signals. This way anyone logging in cannot get the commandline, and if they try and break out of the script, they lose the connection. Then you can just use window's telnet program for access.
HTH
Mark
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-20-2002 11:07 AM
06-20-2002 11:07 AM
Re: Remote shell
We perform this very function using the "exec site" command in
ftp jobs coming from our IBM mainframe.
In using this we execute scripts that are resident on the remote machine, much like remsh does.
No preference here ....
We use site exec in mainframe to unix or NT and remsh in unix to unix.
Best of luck.
dl