Bug 658772

Summary: cannot login via ssh during instalation
Product: [openSUSE] openSUSE 11.4 Reporter: Forgotten User 5wsNBe_fTf <forgotten_5wsNBe_fTf>
Component: InstallationAssignee: Petr Cerny <pcerny>
Status: RESOLVED FIXED QA Contact: Jiri Srain <jsrain>
Severity: Normal    
Priority: P3 - Medium CC: per, publio.escipion.el.africano
Version: RC 2   
Target Milestone: ---   
Hardware: i586   
OS: Other   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Forgotten User 5wsNBe_fTf 2010-12-10 14:38:26 UTC
User-Agent:       Mozilla/5.0 (X11; U; Linux i686; pl-PL; rv:1.9.2.12) Gecko/20101026 SUSE/3.6.12-0.7.1 Firefox/3.6.12

Sometimes it's usefully to have ability to login via ssh during installation. In previous version of openSuse it works correctly - start sshd daemon, setup passwd and voila. But now:
Starting sshd works. Setting password works. But when trying to remotely login to the system after successfully authentication one get message:

PTY allocation request failed on channel 0



Reproducible: Always

Steps to Reproduce:
1. In any step of installation process switch to vty.
2. Run rcsshd start and setup root password
3. Try to login to the system remotely.
Actual Results:  
After successfully authentication message appears and connection is frozen:

PTY allocation request failed on channel 0
Comment 2 Rainer Hurtado Navarro 2011-02-20 05:33:05 UTC
This bug still persists at dom feb 20 05:31:37 UTC 2011.
***@+++:~> ssh root@192.168.0.2
The authenticity of host '192.168.0.2 (192.168.0.2)' can't be established.
RSA key fingerprint is 45:f1:c4:a7:3f:13:41:ff:d8:a7:37:37:a4:35:8a:52.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added '192.168.0.2' (RSA) to the list of known hosts.
PTY allocation request failed on channel 0
Comment 3 Rainer Hurtado Navarro 2011-02-20 05:34:28 UTC
"(changed during the 2011-02-20 Open-Bugs-Day about bugs for obsolete versions of openSUSE)"
Comment 4 Rainer Hurtado Navarro 2011-02-20 20:23:19 UTC
see bug 619520: there is no way to interact remotely with the computer. And sometimes think like this happens: https://bugzilla.novell.com/show_bug.cgi?id=564953
And it would be a good idea to have ssh to try...
Comment 5 Rainer Hurtado Navarro 2011-02-20 20:35:13 UTC
see bug 619520: there is no way to interact remotely with the computer. And sometimes things like this happens: https://bugzilla.novell.com/show_bug.cgi?id=564953
And it would be a good idea to have ssh to try...
Comment 6 Rainer Hurtado Navarro 2011-02-20 20:40:46 UTC
see bug 619520: there is no way to interact remotely with the computer. And sometimes things like this happens: https://bugzilla.novell.com/show_bug.cgi?id=564953
And it would be a good idea to have ssh to try...
Comment 7 Petr Cerny 2011-02-22 11:12:32 UTC
(In reply to comment #2)
> PTY allocation request failed on channel 0

This is /dev/pts being not mounted.

$ mkdir /dev/pts && mount -t devpts devpts /dev/pts

should fix it. I'll check where to put this.
Comment 8 Rainer Hurtado Navarro 2011-02-23 17:26:28 UTC
I thank you, Petr: I did not know it. I will try your suggestion later to test by my own and learn (it was the best thing of that day).
Comment 9 Petr Cerny 2011-02-24 11:32:36 UTC
Should be fixed by now (together with bug #672100).
Comment 10 Forgotten User 5wsNBe_fTf 2011-03-01 08:54:33 UTC
I confirm, fixed.
Comment 11 Per Jessen 2011-03-07 13:54:14 UTC
I have just now done a network installation from /distribution/11.4/repo/oss and still saw this problem.
Comment 12 Per Jessen 2011-03-07 18:47:05 UTC
Must have been from a mirror that was out-of-date, it's working fine now.