plink fails to signal connection errors

Bug #1425121 reported by salva
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
putty (Ubuntu)
New
Undecided
Unassigned

Bug Description

When plink fails to connect to the remote host and authenticate successfully, it not always exists with a non-zero return code.

Happens in both the version packed in Ubuntu (Dec 13 2014 17:09:53) and the git master branch.

This bug is important for people using plink in automated scripts as myself as it is impossible to differentiate between the case where the remote command executed correctly and the case where there were some kind of failure.

ProblemType: Bug
DistroRelease: Ubuntu 15.04
Package: putty-tools 0.63-9
ProcVersionSignature: Ubuntu 3.18.0-13.14-generic 3.18.5
Uname: Linux 3.18.0-13-generic x86_64
ApportVersion: 2.16.1-0ubuntu2
Architecture: amd64
Date: Tue Feb 24 15:02:31 2015
Dependencies:
 gcc-5-base 5-20150202-0ubuntu1
 libc6 2.19-15ubuntu1
 libgcc1 1:5-20150202-0ubuntu1
 multiarch-support 2.19-15ubuntu1
InstallationDate: Installed on 2010-01-08 (1873 days ago)
InstallationMedia: Ubuntu 10.04 "Lucid Lynx" - Alpha amd64 (20091209)
ProcEnviron:
 TERM=xterm
 PATH=(custom, no user)
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: putty
UpgradeStatus: Upgraded to vivid on 2015-02-10 (14 days ago)

Revision history for this message
salva (sfandino) wrote :
Revision history for this message
Ubuntu Foundations Team Bug Bot (crichton) wrote :

The attachment "Ensure that plink always return a non-zero error code unless the connection establishes and authenticates correctly" seems to be a patch. If it isn't, please remove the "patch" flag from the attachment, remove the "patch" tag, and if you are a member of the ~ubuntu-reviewers, unsubscribe the team.

[This is an automated message performed by a Launchpad user owned by ~brian-murray, for any issues please contact him.]

tags: added: patch
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.