RequestTTY option is not respected when declared in .ssh/config
Bug #1080621 reported by
humboink
This bug affects 5 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
openssh (Ubuntu) |
Confirmed
|
Medium
|
Unassigned |
Bug Description
Using this .ssh/config file on a up-to-date ubuntu 12.10 64bits using ssh 1:6.0p1-3ubuntu1
Host xxxx.xxxxxx.com
RequestTTY yes
$ ssh xxxx.xxxxxx.com screen -x
Error: "Must be connected to a terminal." <--- config option is not respected !
While entering the same config directly in the command line works nicely :
$ ssh -o "RequestTTY yes" free.zboubi.com screen -x
Works ok
$ ssh -t free.zboubi.com screen -x
Works ok
Thank you for taking the time to report this bug and helping to make Ubuntu better.
I have been able to reproduce this on 12.10 (openssh-server 1:6.0p1-3ubuntu1). My gut feeling is that there is some kind of catch that we're missing but I have been unable to find anything. So far it does seem like a bug to me.
For a proper fix, the next step is to identify whether this bug is present in the upstream project, introduced in the Debian packaging or introduced in Ubuntu's modifications. If Ubuntu hasn't introduced the problem, we should get a bug filed in the appropriate bug tracker. Are you able to help with this, please?