Error when allocating PTY - supplement

Martin Kiepfer snuggles at acampo.net
Wed Jun 8 19:27:43 EST 2005


I'm running a debian linux (sarge - kernel 2.6.11)

> I'm working on an boot image and actually try to get an ssh server working on clients, booting that
> image over the net. I want to authenticate with my public key on the client, which seems to work fine.
> The only problem I have is that the sshd couldn't open an console. I've allready tested some things,
> but didn't fix it, yet. in den dev directory all tty's and pty's () exists but I suppose my problem
> has somethinkg to do with a missing kernel configuration.
> Here is the corresponding debug output of sshd:
> 
> debug1: server_input_channel_req: channel 0 request pty-req reply 0
> debug1: session_by_channel: session 0 channel 0
> debug1: session_input_channel_req: session 0 req pty-req
> debug1: Allocating pty.
> debug1: Received SIGCHLD.
> openpty: Exec format error
> session_pty_req: session 0 alloc failed
> debug1: server_input_channel_req: channel 0 request shell reply 0
> debug1: session_by_channel: session 0 channel 0
> debug1: session_input_channel_req: session 0 req shell
> debug1: Received SIGCHLD.
> 
> Perhaps some of you can give me a hint or even had the same problem and can tell me how to fix it. Am I right that "openpty" is a syscall? I've taken a look into the System.map from my kernel
> but didn't find it.
 
regards,
Martin


_____________________________________________________
Kostenloser Mailservice von Acampo
http://www.acampo.net/
100MB Mailspeicher + 50MB Webdisk


More information about the openssh-unix-dev mailing list