[Bug 876168] [NEW] EC2 Oneiric ssh "no-pty" triggers "PTY allocation request failed on channel 0"
Eric Hammond
esh at ubuntu.com
Mon Oct 17 03:04:43 UTC 2011
Public bug reported:
When I start a standard Ubuntu 11.10 Oneiric instance (ami-a7f539ce) on
Amazon EC2 I can ssh in just fine with the default .ssh/authorized_keys
file.
If I prefix the ssh key in .authorized_keys with the option "no-pty "
then attempts to ssh fail with the error:
PTY allocation request failed on channel 0
This worked fine on previous versions of Ubuntu but the behavior seems
to have changed in Oneiric.
This failure means that the gitolite package is not working on Ubuntu
11.10 Oneiric as it uses no-pty in the ssh authorized_keys file.
Here's a sample of the $HOME/.ssh/authorized_keys file that fails:
no-pty ssh-rsa
AAAAB3NzaC1yc2EAAAABIwAAAQEA6rn8cl41CkzaH4ZBhczOJZaR4xBBDI1Kelc2ivzVvCBTHcdJRWpDd5I5hY5W9qke9Tm4fH3KaUVndlcP0ORGvS3PAL4lTpkS4D4goMEFrwMO8BG0NoE8sf2U/7gaUkdcrDC7jzKYdwleRCI3uibNXiSdeG6RotClAAp7pMflDVp5WjjECDZ+8Jzs2wasdTwQYPhiWSiNcfbfS97QdtROf0AcoPWElZAgmabaDFBlvvzcqxQRjNp/zbpkFHZBSKp+Sm4+WsRuLu6TDe9lb2Ps0xvBp1FTHlJRUVKP2yeZbVioKnOsXcjLfoJ9TEL7EMnPYinBMIE3kAYw3FzZZFeX3Q==
ProblemType: Bug
DistroRelease: Ubuntu 11.10
Package: ssh (not installed)
ProcVersionSignature: User Name 3.0.0-12.20-virtual 3.0.4
Uname: Linux 3.0.0-12-virtual i686
ApportVersion: 1.23-0ubuntu3
Architecture: i386
Date: Mon Oct 17 02:54:57 2011
Ec2AMI: ami-a7f539ce
Ec2AMIManifest: (unknown)
Ec2AvailabilityZone: us-east-1d
Ec2InstanceType: m1.small
Ec2Kernel: aki-805ea7e9
Ec2Ramdisk: unavailable
ProcEnviron:
LANG=en_US.UTF-8
SHELL=/bin/bash
SourcePackage: openssh
UpgradeStatus: No upgrade log present (probably fresh install)
** Affects: openssh (Ubuntu)
Importance: Undecided
Status: New
** Tags: apport-bug ec2-images i386 oneiric
** Summary changed:
- ec2 oneiric ssh "no-pty" triggers "PTY allocation request failed on channel 0"
+ EC2 Oneiric ssh "no-pty" triggers "PTY allocation request failed on channel 0"
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to openssh in Ubuntu.
https://bugs.launchpad.net/bugs/876168
Title:
EC2 Oneiric ssh "no-pty" triggers "PTY allocation request failed on
channel 0"
Status in “openssh” package in Ubuntu:
New
Bug description:
When I start a standard Ubuntu 11.10 Oneiric instance (ami-a7f539ce)
on Amazon EC2 I can ssh in just fine with the default
.ssh/authorized_keys file.
If I prefix the ssh key in .authorized_keys with the option "no-pty "
then attempts to ssh fail with the error:
PTY allocation request failed on channel 0
This worked fine on previous versions of Ubuntu but the behavior seems
to have changed in Oneiric.
This failure means that the gitolite package is not working on Ubuntu
11.10 Oneiric as it uses no-pty in the ssh authorized_keys file.
Here's a sample of the $HOME/.ssh/authorized_keys file that fails:
no-pty ssh-rsa
AAAAB3NzaC1yc2EAAAABIwAAAQEA6rn8cl41CkzaH4ZBhczOJZaR4xBBDI1Kelc2ivzVvCBTHcdJRWpDd5I5hY5W9qke9Tm4fH3KaUVndlcP0ORGvS3PAL4lTpkS4D4goMEFrwMO8BG0NoE8sf2U/7gaUkdcrDC7jzKYdwleRCI3uibNXiSdeG6RotClAAp7pMflDVp5WjjECDZ+8Jzs2wasdTwQYPhiWSiNcfbfS97QdtROf0AcoPWElZAgmabaDFBlvvzcqxQRjNp/zbpkFHZBSKp+Sm4+WsRuLu6TDe9lb2Ps0xvBp1FTHlJRUVKP2yeZbVioKnOsXcjLfoJ9TEL7EMnPYinBMIE3kAYw3FzZZFeX3Q==
ProblemType: Bug
DistroRelease: Ubuntu 11.10
Package: ssh (not installed)
ProcVersionSignature: User Name 3.0.0-12.20-virtual 3.0.4
Uname: Linux 3.0.0-12-virtual i686
ApportVersion: 1.23-0ubuntu3
Architecture: i386
Date: Mon Oct 17 02:54:57 2011
Ec2AMI: ami-a7f539ce
Ec2AMIManifest: (unknown)
Ec2AvailabilityZone: us-east-1d
Ec2InstanceType: m1.small
Ec2Kernel: aki-805ea7e9
Ec2Ramdisk: unavailable
ProcEnviron:
LANG=en_US.UTF-8
SHELL=/bin/bash
SourcePackage: openssh
UpgradeStatus: No upgrade log present (probably fresh install)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/openssh/+bug/876168/+subscriptions
More information about the foundations-bugs
mailing list