Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Software
User Name
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.


  Search this Thread
Old 05-04-2015, 12:10 AM   #1
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.

$ dsh -m debian.local -c -M 'hostname'
debian.local: Warning: Permanently added 'debian.local,' (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]]
$ 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


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 > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 01:33 PM.

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