Displaying 20 results from an estimated 10000 matches similar to: "SSHv2 sshd exit criteria"
2002 Jul 31
18
so-called-hang-on-exit
so, should this go into 3.5?
Index: serverloop.c
===================================================================
RCS file: /home/markus/cvs/ssh/serverloop.c,v
retrieving revision 1.103
diff -u -r1.103 serverloop.c
--- serverloop.c 24 Jun 2002 14:33:27 -0000 1.103
+++ serverloop.c 12 Jul 2002 16:34:20 -0000
@@ -388,6 +388,11 @@
buffer_append(&stderr_buffer, buf, len);
}
}
+ /*
2002 Jan 15
1
Channels API and ~& question
When processing ~& with SSHv2 OpenSSH sends \004 (EOT) and does not
bother sending SSH2_MSG_CHANNEL_EOF.
Why is that?
Why is there no direct way to get SSH2_MSG_CHANNEL_EOF or
SSH2_MSG_CHANNEL_CLOSE sent? Or is there and I'm just missing it?
Thanks,
Nico
--
-DISCLAIMER: an automatically appended disclaimer may follow. By posting-
-to a public e-mail mailing list I hereby grant
2002 May 15
3
Curious about final KRB5/GSSAPI patch inclusion.
What is the target version for all the KRB5 bits to be in place. I know
there is very much in place right now, but I remember someone mentioning
there was just a GSSAPI/MITKRB5 patch being waited for.
TIA.
--
Austin Gonyou
Systems Architect, CCNA
Coremetrics, Inc.
Phone: 512-698-7250
email: austin at coremetrics.com
"One ought never to turn one's back on a threatened danger and
try
2002 Jul 01
9
scp not tolerant of extraneous shell messages
I spent some time debugging a failing Scp that turned out to be caused
by the remote shell producing messages on Standard Output that aren't
part of the SCP protocol.
Scp from a remote system works by running another Scp on the remote
system. The remote Scp writes SCP protocol messages (and file data)
to its Standard Output, which the local Scp sees as Standard Input.
But it's
2001 Oct 03
5
hang on exit - bug or no bug?
The hang on exit has become quite an issue in my organization(Sun and HP
hosts). I see this note in the changelog which indicates that there
will not be a fix for this problem:
20001129
- (djm) Back out all the serverloop.c hacks. sshd will now hang again
if there are background children with open fds.
Also, I am aware of the workaround as noted in the FAQ. However this
workaround is not
2002 May 06
6
SCP file corruptions
Hi,
I apparently was asleep at the wheel using scp, and accidentally copied a
file onto itself. Scp generated an Input/Output error and did not perform
the copy. However, now the file is corrupt. Is this a but? Is there anyway
to fix the file I messed up?
Thanks,
Don Gathman
208.396.6675
2001 Oct 31
2
OpenStep (NeXT) and TTY modes
OpenStep, apparently, does not initialize new pty/tty modes to a sane
default.
I'm thinking this code snippet, added to tty_parse_modes() before the
for(;;) loop should suffice:
#ifdef HAVE_NEXT
tio.c_oflag |= ONLCR;
tio.c_lflag |= ECHO;
#endif /* HAVE_NEXT */
Also, I've noticed that "ssh -t next_host stty" gives different output
than an interactive session to the same
2002 Jul 12
3
[Bug 273] sshd hangs on shell exit if user spawned child with /bin/nohup
http://bugzilla.mindrot.org/show_bug.cgi?id=273
------- Additional Comments From sam at neutrino.phy.uct.ac.za 2002-07-13 01:22 -------
i also have this exact same problem using
OpenSSH_3.4p1, SSH protocols 1.5/2.0, OpenSSL 0x0090603f
i start a program with "nohup <program> &" and upon returning to my native
machine, the terminal is balnk, frozen with no bash prompt. i
2002 Jan 31
1
Use of TCP_NODELAY in commercial SSH
In order to test my overlapping request path for sftp on another ssh
server, I downloaded ssh2 version 3.1.0 from ssh.com. Having downloaded
it, I decided to study the use of TCP_NODELAY in that implementation.
Here's what I found:
* Both ssh2 and sshd2 has a NoDelay config option which is false by
default.
* The ssh2 client does not enable or disable NoDelay because of a channel
2002 Jun 07
2
SIGCHLD may be inherited blocked
So, we just found some ugly behaviour of OpenSSH on Solaris.
Sometimes, it seems, sshd gets started with SIGCHLD blocked, this,
apparently, being the setting of sshd's parent (a shell no doubt);
signal blocking is inherited across exec*(). I don't know exactly which
shell, or what really is at fault, but it happens.
The problem is that the code in collect_children() first blocks SIGCHLD
2002 Feb 08
3
SCP Problem with OpenSSH 3.0.2p1 linux->solaris
Hello,
i am experiencing scp hangs. This command is executed:
system("/usr/bin/scp -v -v -v -C
root\@$ip:$LOG_DIR_CLIENT$SYSTEM_LOG"."_transfer $LOG_DIR_SERVER$SYSTEM_LOG-$ip >$SSH_STEP3_LOG 2>&1");
from within a perl script.
2002 Jul 15
10
Patch: Solaris packages don't create privsep user or group
Hi.
Solaris packages created by buildpkg.sh don't create privsep user or
group and sshd won't start until they are created (or privsep is
disabled):
## Executing postinstall script.
starting /usr/local/sbin/sshd... Privilege separation user sshd does not
exist
/etc/init.d/opensshd: Error 255 starting /usr/local/sbin/sshd...
bailing.
The attached patch (against -cvs) ports the relevant
2002 Jan 24
3
Configure script
Hello,
Why does the configure scipt include -I/usr/local/include for
CPPFLAGS
and -L/usr/local/lib -R/usr/local/lib for LDFLAGS in the Makefile?
Is this nesscesary? I take them out for security concerns
Thanks
Doug
2002 Aug 07
1
Unrelated (was RE: so-called-hang-on-exit)
Add -n to the ssh command line - see if that fixes it.
Nico
--
> -----Original Message-----
> From: Eric Garff [mailto:egarff at omniture.com]
> Sent: Wednesday, August 07, 2002 11:15 AM
> To: openssh-unix-dev at mindrot.org
> Subject: Re: so-called-hang-on-exit
>
>
> That may be, but it only "hangs" when run from cron, if I run it
> manually it executes
2002 Jul 12
0
[Bug 273] sshd hangs on shell exit if user spawned child with/bin/nohup
Perhaps the man page should be fixed then, because neither
rsh nor rlogin provide any kind of port forwarding, or X11
forwarding, etc...
Also, the comparison between ssh and rsh is more appropriate
if you're talking about SSHv1 and much less so if you're
talking about SSHv2.
Nico
--
> -----Original Message-----
> From: Eric Garff [mailto:egarff at omniture.com]
> Sent:
2002 Aug 21
1
Authenticated with partial success ?
Hi all,
I've got the following problem when connecting to a SSH server version 2.0.13
with dsa public key authentication. Instead of logging in I get
"Authenticated with partial success". I attached the complete output of
"ssh -v".
The interesting part: This only happens when connecting from one special
machine (running SuSE 8.0, OpenSSH 3.4p1). From any other machine
2001 Nov 14
5
X11 forwards and libwrap support
Hi!
Is there any reason why support for the libwrap code isn't included
in the X11 forwarding code? I'd like to restrict access to that
port.
How many applications would break if the tcp port
would be closed and only the unix-domain socket would be available?
It's true that x11 forwardings can be considered as a security
risk and they are disabled because of that by default.
I
2002 Aug 07
2
so called hang-on-exit bug
>
> Yes, you can "police" these things as a sysadmin. How? Use
> /usr/proc/bin/ptree, ps, lsof and what not to find all sshd
> processes and their associated ptys - the sshds that have no
> children processes but whose master pty's slave pty still has
> processes associated with said pty, those are the sshds that must be
> killed in order to clean up (or you
2002 Jan 31
4
signal transmission in ssh2
does somebody like this?
Index: Makefile.inc
===================================================================
RCS file: /cvs/src/usr.bin/ssh/Makefile.inc,v
retrieving revision 1.21
diff -u -r1.21 Makefile.inc
--- Makefile.inc 30 Oct 2001 20:32:31 -0000 1.21
+++ Makefile.inc 16 Nov 2001 12:07:22 -0000
@@ -10,7 +10,7 @@
CDIAGFLAGS+= -Wmissing-prototypes
CDIAGFLAGS+= -Wunused
-#DEBUG=-g
2002 May 17
3
OpenSSH 3.2.2 released : chroot
You must mean your most wanted feature. Mine is the integration of Simon's GSS patches.
Nico
--
> -----Original Message-----
> From: Jean-Michel POURE [mailto:jm.poure at freesurf.fr]
> Sent: Friday, May 17, 2002 7:35 AM
> To: Markus Friedl; openssh-unix-dev at mindrot.org
> Subject: OpenSSH 3.2.2 released : chroot
>
>
> Le Vendredi 17 Mai 2002 00:36, Markus