LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 05-04-2015, 12:10 AM   #1
sunveer
Member
 
Registered: Jul 2012
Posts: 139

Rep: Reputation: Disabled
DSH Connection Hangs


I am executing a dsh command but it hangs and I found that the option "-M" (which prepends the machine name on std output) is actually creating the problem. Also, again running the same command over same machine works and does not hang. Can anyone explain this behavior.

Code:
$ dsh -m debian.local -c -M 'hostname'
debian.local: Warning: Permanently added 'debian.local,10.111.44.27' (ECDSA) to the list of known hosts.
root@debian.local's password: 
debian.local: debian

[[Hangs here, no prompt comes and processes are still alive]]
Code:
$ ps aux | grep dsh
1000     12009  0.0  0.0   7844  1732 pts/7    S+   10:34   0:00 dsh -m debian.local -c -M hostname
1000     12010  0.0  0.0   7852    92 pts/7    S+   10:34   0:00 dsh -m debian.local -c -M hostname
1000     12011  0.0  0.0   7852    96 pts/7    S+   10:34   0:00 dsh -m debian.local -c -M hostname
1000     12080  0.0  0.0   8036  2136 pts/8    S+   10:38   0:00 grep dsh
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Remote Desktop Connection hangs on 'Establishing connection...' madala Linux - Networking 1 06-27-2008 03:04 PM
Remote Administration with DSH jeremy LQ Articles Discussion 0 08-05-2007 09:21 PM
cant find /etc/dsh Heba Ezzat Linux - Software 1 04-28-2007 05:06 AM
dsh command using ssh pmrent Linux - Security 2 09-15-2004 10:31 AM
ip changes and connection hangs :( riccisit Linux - Networking 7 07-01-2004 04:52 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 04:22 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration