Bug 188983 - Annoying pseudoterminal allocation message
Summary: Annoying pseudoterminal allocation message
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: openssh
Version: 5
Hardware: All
OS: Linux
medium
low
Target Milestone: ---
Assignee: Tomas Mraz
QA Contact: Brian Brock
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2006-04-14 07:29 UTC by David Nečas
Modified: 2007-11-30 22:11 UTC (History)
0 users

Fixed In Version: openssh-4.3p2-5
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2006-04-14 08:33:05 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description David Nečas 2006-04-14 07:29:58 UTC
Description of problem:
When scp is invoked noninteractively (from cron, at, etc.) to copy between two
different machines, it prints an annoying and useless message:

Pseudo-terminal will not be allocated because stdin is not a terminal.

Options -qB that clearly indicate the intent of quiet batch processing do not help.


Version-Release number of selected component (if applicable):
openssh-clients-4.3p2-4


How reproducible:
Always


Steps to Reproduce:
1. touch test
2. scp -qB localhost:test localhost: </dev/null

  
Actual results:
Pseudo-terminal will not be allocated because stdin is not a terminal.
Permission denied (publickey,keyboard-interactive).


Expected results:
Permission denied (publickey,keyboard-interactive).


Additional info:
The purpose of </dev/null in the test case is to simulate non-tty stdin, as the
real-world noninteractive use cases would involve more complex setup.

Comment 1 Tomas Mraz 2006-04-14 08:33:05 UTC
Fixed version will appear in FC-devel.



Note You need to log in before you can comment on or make changes to this bug.