Do you have a question? Post it now! No Registration Necessary. Now with pictures!
June 23, 2006, 2:38 pm
rate this thread
that calls tcsetpgrp(0, getpid()), the call fails with errno set to
ENOTTY. There isn't anything untoward that happens otherwise, but I am
wondering if there is some parameter that is not being setup properly.
The tcsetpgrp() function causes breaks on the terminal device to
generate a SIGINT on all processes in the given group, so I am
wondering if there is some conflict with the way ssh handles SIGINT
Any insight appreciated.
Which SSH implementation and version thereof are you running? If it's
OpenSSH, one possibilty is this:
On QNX (or at least Neutrino) the pty allocation process apparently
has an unfortunate habit of acquiring the pty it's allocating as sshd's
controlling terminal (this happens on a number of SysV derived systems
You can try adding -DSSHD_ACQUIRES_CTTY to your CFLAGS to work around
this. In the next release of OpenSSH (4.4), configure will do this
Darren Tucker (dtucker at zip.com.au)
GPG key 8FF4FA69 / D9A3 86E9 7EEE AF4B B2D4 37C9 C982 80C7 8FF4 FA69
Good judgement comes with experience. Unfortunately, the experience
usually comes from bad judgement.
- » ssh on command line: force using a group size (prime size) of 1024 (and no...
- — Newest thread in » Secure Shell Forum