Displaying 10 results from an estimated 10 matches for "pty_make_controlling_tti".
Did you mean:
pty_make_controlling_tty
2002 Dec 13
5
[Bug 245] SSH can not log out under Solaris 2.6
http://bugzilla.mindrot.org/show_bug.cgi?id=245
------- Additional Comments From dtucker at zip.com.au 2002-12-14 00:36 -------
Did some digging on this. Carson seems to be correct in that the problem is due
to missing controlling terminal.
I uncommented the setsid() in sshd.c and added some debugging log() calls to
sshd, which generated the following:
sshd[21690]: main: before setsid
2004 Aug 25
2
[patch] sshd with re-exec disabled causes stdin to get closed.
I ran into a bug while testing 3.9p1.
If you start sshd with -r (re-exec disabled), once the daemon is
forked to handle a client, the child closes stdin by accident.
This causes FD 0 to get re-used by the next open call which eventually
you end up with a mess. In the perticual case I saw, the pty fd
ended up on FD 0 was closed by do_exec_pty(),
pty_make_controlling_tty() then opened a new ttyfd
2002 Dec 21
6
[PATCH] PAM chauthtok + Privsep
Hello All.
Attached is an update to my previous patch to make do_pam_chauthtok and
privsep play nicely together.
First, a question: does anybody care about these or the password
expiration patches?
Anyway, the "PRIVSEP(do_pam_hauthtok())" has been moved to just after
the pty has been allocated but before it's made the controlling tty.
This allows the child running chauthtok to
2002 Apr 29
1
SSH client, dup, pty.
Hey,
I am hoping that some one on this list may be able to help me.
I started investigate the possibility of forking a process, the child then
attach to a pty, dup std[in|out] to the pty, then exec the ssh client.
For some reason, the ssh client still prompted straight to stdin and
stdout rather than through the pty that I created.
There seem to be a few issues with this. Can someone tell
2000 Jun 15
1
SCO OpenServer 5.0.5, issues with MAXPATHLEN and tty devices
These issues affected previous 2. versions of openssh and still
affects openssh-2.1.1p1. The environment is SCO OS 5.0.5 with
the SCO development environment (not gcc, gmake, etc.)
There are two issues, the first is a compilation problem,
and the second is a run-time problem.
The first problem is simply that MAXPATHLEN is not defined. I
found it to be defined in
2005 Aug 11
2
Porting to Dynix 4.1.3...
Hello there,
I am trying to build OpenSSH on the above (very old) version of unix.
With a bit of hacking, I have managed to get everything to compile and
run. Scp works fine however when I log in via ssh I end up with a
session without a controlling terminal.
I have followed the code in pty_make_controlling_tty and it seems to go
as follows:
1. Starts with a controlling tty.
2. setsid works,
2001 Feb 01
0
warnings on aix325
Hi,
I'm trying to compile openssh2.3.0p1 on aix3.2.5.
Can I ignore this list of warning messages?
bsd-bindresvport.c: In function `bindresvport_af':
bsd-bindresvport.c:94: warning: implicit declaration of function `bind'
bsd-rresvport.c: In function `rresvport_af':
bsd-rresvport.c:64: warning: implicit declaration of function `bzero'
bsd-rresvport.c:82: warning: implicit
2003 Jun 11
2
[PATCH] Fix typos, OpenBSD + Portable
Hi.
Whenever I notice a typo someplace, I fix it in a local "typo tree".
Attached is 2 patches from that tree, one against OpenBSD and the other
against Portable.
Is it worth fixing these?
-Daz.
--
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
2000 May 19
2
Solved: on Solaris, "couldn't wait for child '...' completion: No child processes"
> John Horne [SMTP:J.Horne at plymouth.ac.uk] wrote:
>
> Emanuel Borsboom <emanuel at heatdeath.org> wrote:
>> Trying to install the portable OpenSSH on Solaris 2.6. Compiling from
>> openssh-2.1.0.tar.gz using gcc. Compiles and installs fine. sshd
>> starts fine. First connection from another system works. Child sshd is
>> forked, but the parent dies
2002 May 17
16
[Bug 245] SSH can not log out under Solaris 2.6
http://bugzilla.mindrot.org/show_bug.cgi?id=245
------- Additional Comments From wknox at mitre.org 2002-05-18 00:58 -------
Same issue with Solaris 8 built with gcc 2.95.2 with the following configure
options:
--without-rsh --with-tcp-wrappers --with-pam --disable-suid-ssh
--with-prngd-socket
--with-default-path=/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/sbin
Running a ssh -v