- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: regarding remote commands
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
08-13-2006 09:17 PM
08-13-2006 09:17 PM
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-13-2006 09:27 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-13-2006 09:52 PM
08-13-2006 09:52 PM
Re: regarding remote commands
you can configure the .rhosts and try remsh command
remsh servername "ls -lrt"
or you can try to implement ssh also
Regards
tvs
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-13-2006 10:12 PM
08-13-2006 10:12 PM
Re: regarding remote commands
Create .rhosts file in user home directory.
check rlogin is working without password.
Once you are able to login using rlogin without password,you can run remsh command
#remsh remotehost ls
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-13-2006 11:12 PM
08-13-2006 11:12 PM
Re: regarding remote commands
I want to do the below two unix commands in remote machine
ls -ltr
mv test.out /tmp/test.out
I gave the below way but it's not working
remsh inky -l fcc ls -tr ;mv test.out /tmp/test.out
The second move command is not getting executed in the remote machine. How do i run mulitple unix commands with remsh.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-13-2006 11:32 PM
08-13-2006 11:32 PM
Re: regarding remote commands
multiple commands:
remsh inky -l fcc -n "ls -tr ;mv test.out /tmp/test.out"
see man remsh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-14-2006 12:59 AM
08-14-2006 12:59 AM
Re: regarding remote commands
remsh inky grep err /var/adm/syslog/syslog.log > /tmp/errors
remsh inky 'grep err /var/adm/syslog/syslog.log > /tmp/errors'
In the first example, the > is a special character and takes whatever remsh displays and puts into /tmp/errors on your local computer. The second example stores the errors file on the remote computer.
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-06-2006 07:37 PM
09-06-2006 07:37 PM