Problem: linux-2.6.0-test-pa6 and ssh
Hi,
booting the 2.6.0-test2-pa6 kernel works quite right, but when I try to login via ssh I get the following error after entering the password: "Server refused to allocate pty". With a 2.4-kernel and latest 2.5-kernel it worked alright.
I using devfs and debian unstable on my 715/100.
Has anyone an idea how to get ssh to work?
Ruediger
Quoted 6 lines
booting the 2.6.0-test2-pa6 kernel works quite right, but when I try to login via ssh I get the following error after entering the password:
"Server refused to allocate pty".
With a 2.4-kernel and latest 2.5-kernel it worked alright.
I using devfs and debian unstable on my 715/100.
Has anyone an idea how to get ssh to work?
hm.. it seems to work for me... can you try running sshd in debug mode (sshd -ddd, output goes to syslog) and see if that tells you more about what's happening?
randolph
Signature · 3 lines
Randolph Chung Debian GNU/Linux Developer, hppa/ia64 ports http://www.tausq.org/
Thanks for your help, but I already found the answer. (rtfm, or in this case not the manual but "The post-halloween document. v0.42" from Dave Jones... ;) )
When using devfs with 2.4 I didn't need to mount the devpts-fs, so I comment this part out in /etc/fstab. Because of the changes to devfs in 2.5 I had to mount the devpts now. So I mounted devpts, and everything worked like a charm again.
Running ssh in debug mode and without mounted devpts gives:
----------SNIP------
debug1: Allocating pty.
openpty: No such file or directorysession_pty_req: session 0 alloc failed ----------SNAP-----
Ruediger
Quoted 5 lines · Randolph Chung
hm.. it seems to work for me... can you try running sshd in debug mode (sshd -ddd, output goes to syslog) and see if that tells you more about what's happening?
randolph