bugGNU Parallel - build and execute command lines from standard input in parallel - Bugs: bug #39753, No output from: </dev/null ssh...


bug #39753: No output from: </dev/null ssh -tt solaris echo ged

Submitted by:  Ole Tange <tange>
Submitted on:  Sun 11 Aug 2013 09:47:36 AM UTC  
Category:  None Severity:  3 - Normal
Item Group:  None Status:  Wont Fix
Privacy:  Public Assigned to:  Ole Tange <tange>
Open/Closed:  Closed

Add a New Comment(Rich Markup)

You are not logged in

Please log in, so followups can be emailed to you.


Tue 24 Feb 2015 10:53:29 PM UTC, comment #4:

Made redundant by #42493.

Ole Tange <tange>
Project AdministratorIn charge of this item.
Sun 11 Aug 2013 01:51:13 PM UTC, comment #3:

A workaround seems to be to get a PTY from Perl and use that:

perl -MIO::Pty -e '$pty = new IO::Pty; print $t=$pty->ttyname(),"\n"; print `openssh-5.0p1/ssh -tt solaris.p echo foo < $t`'

Unfortunately IO:Pty is not installed on Solaris 5.10 and it is not just a Perl package, but also an .xs file - thus it requires a C-compiler, too; therefore not a good solution.

Is there a way that I from shell can ask for a new pty?

Ole Tange <tange>
Project AdministratorIn charge of this item.
Sun 11 Aug 2013 12:02:25 PM UTC, comment #2:

It sounds very much like this bug: https://bugzilla.mindrot.org/show_bug.cgi?id=1199

which will explain why OpenSSH 5.1 is OK whereas 5.0 fails.

One workaround will be for the user to upgrade to OpenSSH 5.1. That will not work for users who cannot do that.

Ole Tange <tange>
Project AdministratorIn charge of this item.
Sun 11 Aug 2013 11:58:11 AM UTC, comment #1:

It may have to do with ssh versions:


redhat$ ./openssh-4.3p2/ssh -tt solaris echo ged </dev/null
solaris$ ./openssh-4.6p1/ssh -tt solaris echo ged </dev/null
solaris$ openssh-5.0p1/ssh -tt solaris echo openssh-5.0p1/ssh OK </dev/null

mint$ parallel -kv --dry-run {} -tt solaris.p echo {} OK '<'/dev/null ::: */ssh
openssh-3.1p1/ssh -tt solaris.p echo openssh-3.1p1/ssh OK </dev/null
openssh-3.2.2p1/ssh -tt solaris.p echo openssh-3.2.2p1/ssh OK </dev/null
openssh-3.2.3p1/ssh -tt solaris.p echo openssh-3.2.3p1/ssh OK </dev/null
openssh-3.3p1/ssh -tt solaris.p echo openssh-3.3p1/ssh OK </dev/null
openssh-3.4p1/ssh -tt solaris.p echo openssh-3.4p1/ssh OK </dev/null
openssh-3.7.1p1/ssh -tt solaris.p echo openssh-3.7.1p1/ssh OK </dev/null
openssh-3.7.1p2/ssh -tt solaris.p echo openssh-3.7.1p2/ssh OK </dev/null
openssh-3.7p1/ssh -tt solaris.p echo openssh-3.7p1/ssh OK </dev/null
openssh-3.9p1/ssh -tt solaris.p echo openssh-3.9p1/ssh OK </dev/null
openssh-4.0p1/ssh -tt solaris.p echo openssh-4.0p1/ssh OK </dev/null
openssh-4.1p1/ssh -tt solaris.p echo openssh-4.1p1/ssh OK </dev/null
openssh-4.2p1/ssh -tt solaris.p echo openssh-4.2p1/ssh OK </dev/null
openssh-4.3p1/ssh -tt solaris.p echo openssh-4.3p1/ssh OK </dev/null
openssh-4.3p2/ssh -tt solaris.p echo openssh-4.3p2/ssh OK </dev/null
openssh-4.4p1/ssh -tt solaris.p echo openssh-4.4p1/ssh OK </dev/null
openssh-4.5p1/ssh -tt solaris.p echo openssh-4.5p1/ssh OK </dev/null
openssh-4.6p1/ssh -tt solaris.p echo openssh-4.6p1/ssh OK </dev/null
openssh-4.7p1/ssh -tt solaris.p echo openssh-4.7p1/ssh OK </dev/null
openssh-4.9p1/ssh -tt solaris.p echo openssh-4.9p1/ssh OK </dev/null
openssh-5.0p1/ssh -tt solaris.p echo openssh-5.0p1/ssh OK </dev/null


solaris$ openssh-5.1p1/ssh -tt solaris echo openssh-5.1p1/ssh OK </dev/null
solaris$ ./openssh-6.2p1/ssh -tt solaris echo foo </dev/null

openssh-5.1p1/ssh -tt solaris.p echo openssh-5.1p1/ssh OK </dev/null
openssh-5.2p1/ssh -tt solaris.p echo openssh-5.2p1/ssh OK </dev/null
openssh-5.3p1/ssh -tt solaris.p echo openssh-5.3p1/ssh OK </dev/null
openssh-5.4p1/ssh -tt solaris.p echo openssh-5.4p1/ssh OK </dev/null
openssh-5.5p1/ssh -tt solaris.p echo openssh-5.5p1/ssh OK </dev/null
openssh-5.6p1/ssh -tt solaris.p echo openssh-5.6p1/ssh OK </dev/null
openssh-5.7p1/ssh -tt solaris.p echo openssh-5.7p1/ssh OK </dev/null
openssh-5.8p1/ssh -tt solaris.p echo openssh-5.8p1/ssh OK </dev/null
openssh-5.8p2/ssh -tt solaris.p echo openssh-5.8p2/ssh OK </dev/null
openssh-5.9p1/ssh -tt solaris.p echo openssh-5.9p1/ssh OK </dev/null
openssh-6.0p1/ssh -tt solaris.p echo openssh-6.0p1/ssh OK </dev/null
openssh-6.1p1/ssh -tt solaris.p echo openssh-6.1p1/ssh OK </dev/null
openssh-6.2p1/ssh -tt solaris.p echo openssh-6.2p1/ssh OK </dev/null
openssh-6.2p2/ssh -tt solaris.p echo openssh-6.2p2/ssh OK </dev/null

mint$ parallel -kv --dry-run {} -tt redhat.p echo {} OK '<'/dev/null ::: */ssh
openssh-3.1p1/ssh -tt redhat.p echo openssh-3.1p1/ssh OK </dev/null
openssh-3.2.2p1/ssh -tt redhat.p echo openssh-3.2.2p1/ssh OK </dev/null
openssh-3.2.3p1/ssh -tt redhat.p echo openssh-3.2.3p1/ssh OK </dev/null
openssh-3.3p1/ssh -tt redhat.p echo openssh-3.3p1/ssh OK </dev/null
openssh-3.4p1/ssh -tt redhat.p echo openssh-3.4p1/ssh OK </dev/null
openssh-3.7.1p1/ssh -tt redhat.p echo openssh-3.7.1p1/ssh OK </dev/null
openssh-3.7.1p2/ssh -tt redhat.p echo openssh-3.7.1p2/ssh OK </dev/null
openssh-3.7p1/ssh -tt redhat.p echo openssh-3.7p1/ssh OK </dev/null
openssh-3.9p1/ssh -tt redhat.p echo openssh-3.9p1/ssh OK </dev/null
openssh-4.0p1/ssh -tt redhat.p echo openssh-4.0p1/ssh OK </dev/null
openssh-4.1p1/ssh -tt redhat.p echo openssh-4.1p1/ssh OK </dev/null
openssh-4.2p1/ssh -tt redhat.p echo openssh-4.2p1/ssh OK </dev/null
openssh-4.3p1/ssh -tt redhat.p echo openssh-4.3p1/ssh OK </dev/null
openssh-4.3p2/ssh -tt redhat.p echo openssh-4.3p2/ssh OK </dev/null
openssh-4.4p1/ssh -tt redhat.p echo openssh-4.4p1/ssh OK </dev/null
openssh-4.5p1/ssh -tt redhat.p echo openssh-4.5p1/ssh OK </dev/null
openssh-4.6p1/ssh -tt redhat.p echo openssh-4.6p1/ssh OK </dev/null
openssh-4.7p1/ssh -tt redhat.p echo openssh-4.7p1/ssh OK </dev/null
openssh-4.9p1/ssh -tt redhat.p echo openssh-4.9p1/ssh OK </dev/null
openssh-5.0p1/ssh -tt redhat.p echo openssh-5.0p1/ssh OK </dev/null
openssh-5.1p1/ssh -tt redhat.p echo openssh-5.1p1/ssh OK </dev/null
openssh-5.2p1/ssh -tt redhat.p echo openssh-5.2p1/ssh OK </dev/null
openssh-5.3p1/ssh -tt redhat.p echo openssh-5.3p1/ssh OK </dev/null
openssh-5.4p1/ssh -tt redhat.p echo openssh-5.4p1/ssh OK </dev/null
openssh-5.5p1/ssh -tt redhat.p echo openssh-5.5p1/ssh OK </dev/null
openssh-5.6p1/ssh -tt redhat.p echo openssh-5.6p1/ssh OK </dev/null
openssh-5.7p1/ssh -tt redhat.p echo openssh-5.7p1/ssh OK </dev/null
openssh-5.8p1/ssh -tt redhat.p echo openssh-5.8p1/ssh OK </dev/null
openssh-5.8p2/ssh -tt redhat.p echo openssh-5.8p2/ssh OK </dev/null
openssh-5.9p1/ssh -tt redhat.p echo openssh-5.9p1/ssh OK </dev/null
openssh-6.0p1/ssh -tt redhat.p echo openssh-6.0p1/ssh OK </dev/null
openssh-6.1p1/ssh -tt redhat.p echo openssh-6.1p1/ssh OK </dev/null
openssh-6.2p1/ssh -tt redhat.p echo openssh-6.2p1/ssh OK </dev/null
openssh-6.2p2/ssh -tt redhat.p echo openssh-6.2p2/ssh OK </dev/null

Ole Tange <tange>
Project AdministratorIn charge of this item.
Sun 11 Aug 2013 09:47:36 AM UTC, original submission:

In some situations SunOS 5.10 gives no output for

</dev/null ssh -tt solaris echo ged

This is used by GNU Parallel

</dev/null is because we run multiple commands in parallel, thus they can not get the current tty.
-tt is needed because otherwise Ctrl-C will not work remotely.

Ole Tange <tange>
Project AdministratorIn charge of this item.


(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:

No files currently attached


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -email is unavailable- added by tange (Submitted the item)
  • -email is unavailable- added by tange

    Do you think this task is very important?
    If so, you can add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.




    Follow 3 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2015-02-24 tange StatusConfirmed => Wont Fix
        Open/ClosedOpen => Closed
    2013-08-11 tange Carbon-Copy- => Added -email is unavailable-

    Back to the top

    Powered by Savane 3.3