Problems with OpenSSH 3.2.2p1 on Solaris 7
Jakob Schlyter
jakob at crt.se
Tue May 21 16:32:20 EST 2002
On Fri, 17 May 2002, Kevin Steves wrote:
> On Fri, 17 May 2002, Jakob Schlyter wrote:
> :just upgraded to OpenSSH 3.2.2p1 on a box running Solaris 7. now I get the
> :following when logging on:
> :
> : Warning: no access to tty (Inappropriate ioctl for device).
> : Thus no job control in this shell.
> :
> :everything works alright with 3.0p1, but 3.1p1 and 3.2.2p1 seems to have
> :this problem.
>
> you have that with 3.1p1 as well?
yes.
> does this change anything?
>
> Index: sshd.c
> ===================================================================
> RCS file: /var/cvs/openssh/sshd.c,v
> retrieving revision 1.205
> diff -u -r1.205 sshd.c
> --- sshd.c 15 May 2002 16:25:02 -0000 1.205
> +++ sshd.c 17 May 2002 19:17:01 -0000
> @@ -1336,8 +1336,10 @@
> * setlogin() affects the entire process group. We don't
> * want the child to be able to affect the parent.
> */
> +#if 0
> if (setsid() < 0)
> error("setsid: %.100s", strerror(errno));
> +#endif
>
> /*
> * Disable the key regeneration alarm. We will not regenerate the
>
yes, this works better.
jakob
More information about the openssh-unix-dev
mailing list