- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Re: rsh hanging
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
06-05-2007 01:07 AM
06-05-2007 01:07 AM
rsh hanging
These systems are pingable, but you cannot rsh into them. It's often resolved after a reboot. What can i check pls or how can i include in the script to termintate if rsh hanging?
Thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-05-2007 04:13 AM
06-05-2007 04:13 AM
Re: rsh hanging
On the target system:
tail -f /var/log/messages
run your script.
If that yields no data, try using tdpdump
SEP
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
06-05-2007 01:18 PM
06-05-2007 01:18 PM
Re: rsh hanging
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-05-2007 10:43 PM
06-05-2007 10:43 PM
Re: rsh hanging
Moreover, ssh will require root password, hence only good during interactive sessions.
I just need to know if there's something to include in the script for the rsh to terminate rather than hang.
Thank you.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-06-2007 03:07 PM
06-06-2007 03:07 PM
Re: rsh hanging
Login with "applmgr"(example) account and check if you have these files -
/home/applmgr/.ssh/id_rsa
/home/applmgr/.ssh/id_rsa.pub
If not then run;
ssh-keygen -t rsa
example -
$ ssh-keygen -t rsa
Generating public/private rsa key pair.
Enter file in which to save the key (/home/sharma/.ssh/id_rsa):
Enter passphrase (empty for no passphrase):
Enter same passphrase again:
Your identification has been saved in /home/sharma/.ssh/id_rsa.
Your public key has been saved in /home/sharma/.ssh/id_rsa.pub.
The key fingerprint is:
c1:a8:1d:f8:e5:a4:79:10:d3:5c:d8:90:72:0d:f0:84 sharma@hostname
Now copy the contents of source "/home/applmgr/.ssh/id_rsa.pub" to dest "/home/applmgr/.ssh/authorized_keys". Append in case the authorized file already exists on dest
P.S - The public/private key pair needs to be generated only once via ssh-keygen and thereafter same keys can be copied to "authorized_keys" on diff. servers for passwordless entry.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-07-2007 07:55 PM
06-07-2007 07:55 PM
Re: rsh hanging
Thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-08-2007 03:18 PM
06-08-2007 03:18 PM