- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Remote SH
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
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
05-11-2006 04:31 AM
05-11-2006 04:31 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-11-2006 04:46 AM
05-11-2006 04:46 AM
Re: Remote SH
use - if installed -
ssh host2 'command1;command2'
or else
remsh host2 'command1;command2'
It's worth to read 'man ssh' / 'man remsh' .
mfG Peter
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-11-2006 04:48 AM
05-11-2006 04:48 AM
Re: Remote SH
remsh host2 "command to execute"
Do a man remsh.
Also there are a few things. remshd must be there in /etc/inetd.conf
do man remshd
Also on host2 you need to create a file if not already existing - /etc/hosts.equiv and add an entry for the host1 and user that will be using remsh as follows
host1 username
OR
host1 + [ if you want all users of host1 to be allowed to execute remote commands without password]
Regards,
Ninad
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-11-2006 05:17 AM
05-11-2006 05:17 AM
Re: Remote SH
I have installed:
T1471AA A.04.20.005 HP-UX Secure Shell
And, i need ssh to other user, not for root!
Step 1:
Logon as user
Step 2:
ssh-keygen -t rsa
But i don't know more...
Help! Please.
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-11-2006 08:39 PM
05-11-2006 08:39 PM
Solutionok, you use ssh, but
I must really guess to get what you want to achieve:
- executing remote command, but without supplying a password?
=> setup authentication (you chose rsa)
=> exchange auth-keys in appending user1@host1:.ssh/isd_rsa.pub to user2@host2:.shh/authorized_keys
- executing a remote command as a different remote user?
=> ssh user2@hosts2 'command1;command2'
- both requests together?
I suggest, really to read the manpage for ssh.
mfG Peter
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-11-2006 11:44 PM
05-11-2006 11:44 PM
Re: Remote SH
http://www.datafocus.com/docs/man1/rexec.1.asp
But consider use of secure shell and it's tilities.
Alex.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-12-2006 04:23 AM
05-12-2006 04:23 AM
Re: Remote SH
then do the
ssh user@system command
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-21-2006 11:39 AM
05-21-2006 11:39 AM
Re: Remote SH
MC