Displaying 20 results from an estimated 36 matches for "do_exec_no_pti".
Did you mean:
do_exec_no_pty
2001 Jun 18
2
Patch for changing expired passwords
The primary purpose of the attached patches is for portable OpenSSH to
support changing expired passwords as specified in shadow password files.
To support that, I did a couple enhancements to the base OpenBSD OpenSSH
code. They are:
1. Consolidated the handling of "forced_command" into a do_exec()
function in session.c. These were being handled inconsistently and
allocated
2001 Oct 23
2
PAM problem - sshd segfault on Solaris
I'm using OpenSSH-2.9.9p2 on Solaris 8 sparc64. 2.9p2 worked fine, but
2.9.9p2+ is giving me trouble with one thing - sshd segfaults if I try to
connect and execute a command, such as "ssh machine ls". Otherwise it
works great. sshd will fork, and the child process segfaults.
CVS snapshot does the same thing.
I've narrowed this down somewhat. It will only happen if you use
2001 Sep 28
2
2.9.9p2 bug in PAM support
With OpenSSH 2.9.9p2 as the server, I'm not able to do scp or "ssh
machinename command" in general to any of my Suns!
I tracked this down a bit; the problem occurs only when PAM support is
enabled. However, if I remove line 430 of session.c,
"do_pam_session(s->pw->pw_name, NULL);" inside of do_exec_no_pty, the
problem goes away.
It looks like the following entry
2005 Dec 02
3
[Bug 1129] sshd hangs for command-only invocations due to fork/child signals
http://bugzilla.mindrot.org/show_bug.cgi?id=1129
Summary: sshd hangs for command-only invocations due to
fork/child signals
Product: Portable OpenSSH
Version: 4.2p1
Platform: ix86
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P2
Component: sshd
AssignedTo: bitbucket
2001 Sep 06
1
lastlog on Solaris with PAM (patch included)
On Solaris, the pam_unix module includes a pam_session which updates the
lastlog file. Since OpenSSH calls pam_session before reading the lastlog
file, SSH logins to systems with this configuration (as well as similar
ones, I'd imagine) report the last login time and remote host as the values
from the current session.
My solution to this problem is to call pam_open_session in the child,
2001 Oct 29
2
pam_open_session w/o tty on Solaris
Hello, all-
Apparently, under Solaris (I can personally confirm SunOS 5.7 and 5.8),
pam_open_session will generate a segfault if PAM_TTY is not set. The
obvious symptom of this is that OpenSSH 2.9.9p2 will segfault on any
operation that does not request a tty (do_exec_no_pty).
Based on a quick google search, this seems to have been encountered
by others, though the specific symptoms seem to
2011 Jun 30
4
sshd and .bashrc
The short version: There's a "#define USE_PIPES"
in the middle of session.c; it would be better if
it were in (e.g.) defines.h or some other .h file.
(If in fact it needs to be defined at all; I'm not
convinced that it does.) Here's the (much) longer
version:
I recently installed the latest OpenSSH on some of
our servers (RHEL5, which provides the 4.3 release)
and soon
2001 May 25
3
Problem with OpenSSH with UseLogin.. AGAIN!!!
Hello,
By the 26th of May I will have been waiting for response for 17 days.
I have posted this mail at 9 May 2001 20:38:58 and still this bug is not
fixed and AFAIK no one have answered to this mail. I have to ask: why? ;-)
---------- My OLD message ----------
Hello,
I have just discoverd that ssh -T does not work with servers which have
UseLogin option enabled. This happends becouse
2003 Sep 12
15
[Bug 637] ssh records that the user has logged out even though an sftp session is active
http://bugzilla.mindrot.org/show_bug.cgi?id=637
Summary: ssh records that the user has logged out even though an
sftp session is active
Product: Portable OpenSSH
Version: 3.6.1p2
Platform: All
OS/Version: All
Status: NEW
Severity: security
Priority: P1
Component: ssh
AssignedTo:
2000 Apr 14
2
More Slack7 heartbreak.
All line number are approximate, but most likely w/in 10 lines of the
OpenSSH 1.2.3 tarball.
I unpacked the tarball, and did a ./configure;make;make install
and now I've had some problems. :-)
OK, I've tracked down lots of goofy stuff w/ slack7 and OpenSSH
I've got a couple of questions.
What is /dev/tty and why does ssh try to open it to read the password
instead of stdin?(this cause
2000 May 22
1
future of subsystem requests
I was testing the Linux port of 2.1.0p2 and noticed that the F-Secure SSH
client for Windows 4.0 couldn't successfully connect using its secure
file-transfer facility.
The server log reported that authentication was successful, then the log
left off with a semi-cryptic "subsystem request for sftp" line. After
that, nothing.
Poking around the source, I found this little routine in
2001 Sep 28
0
openssh-2.9.9p2 session.c uses two undeclared void functions
I found this problem on 32-bit Solaris 8 sparc. session.c uses two
void functions without declaring them first; this violates the C
standard, which requires declarations for such functions. Here's a
patch.
2001-09-28 Paul Eggert <eggert at twinsun.com>
* session.c (do_pre_login, record_utmp_only): Add missing
declarations.
2002 Feb 12
3
[Bug 83] PAM limits applied incorrectly
http://bugzilla.mindrot.org/show_bug.cgi?id=83
djm at mindrot.org changed:
What |Removed |Added
----------------------------------------------------------------------------
Summary|fork() fails when there are |PAM limits applied
|PAM limits set |incorrectly
------- You are receiving this mail because: -------
You
2007 Apr 17
1
where is the point the client command is executed?
Hi,
I met some difficult in reading ssh/sshd souce code, I want to
find out how the command that user input in client is executed on the
server. I only found out the process_input function put the command in a
buffer,but can not find how it is executed. Could you please help me on
that?
Thank you very much.
B Rgds,
Kexin
2011 Feb 02
0
Porting openssh to Windows natively
Hi All,
I was assigned a project to port the openssh 5.4p1 to Windows.? There has been discussion about Cygwin and SUA on Windows, but the conclusion is to avoid a unix layer.? So came the project.? I was being assigned not because I am familir with openssh, but because I am a Windows application developer.? BTW, the objective is to have a windows sshd daemon, no client is needed at this stage.
2012 Aug 26
1
Capturing sftp logs on stderr
Hi.
I am running sshd under supervise, using the -e option to capture the
logs on stderr. I am trying to do the same for the sftp subsystem, but
I have been unable to do so. Using the same -e option to sftp-server
simply sends the debug messages to the client's stderr (instead of
sshd's stderr) which doesn't help.
Is there any way to do this? I am not averse to doing a local
2012 Aug 29
0
PATCH: Log the PID of executed commands
sshd logs the PID of the network child and the user child sshd
processes. This patch adds logging the PID of invoked commands for
completeness.
diff --git a/session.c b/session.c
index f3baea2..dd1d0e8 100644
--- a/session.c
+++ b/session.c
@@ -579,6 +579,7 @@ do_exec_no_pty(Session *s, const char *command)
do_child(s, command);
/* NOTREACHED */
default:
+ verbose("command is on pid
2019 Jan 21
4
[Regression] OpenSSH 7.7p1 no longer tests on NonStop Port
Hi All,
I finally got around to trying to test the 7.7p1 release on the HPE NonStop
Platform. 7.6p1 worked just fine - no issues at all.
In 7.7p1, when the agent test ran, the following happened (prior tests
worked perfectly):
run test agent.sh ...
Couldn't open logfile /home/git/openssh-portable/regress/ssh.log:
Permission denied
agent fwd failed (exit code 1)
failed simple agent test
2000 May 15
0
OpenSSH (1.2.3) sshd hanging when using rsync over ssh (retry)
Now that the list is said to be open again, I'm resending this. I've
merged my changes into OpenSSH 2.1.0 as Kris imported it into FreeBSD over
the weekend.
---------- Forwarded message ----------
Date: Thu, 4 May 2000 08:40:22 -0500 (CDT)
From: Guy Helmer <ghelmer at cs.iastate.edu>
To: openssh-unix-dev at mindrot.org
Subject: OpenSSH (1.2.3) sshd hanging when using rsync over ssh
2001 Mar 21
1
Tru64 UNIX SIA in 2.5.2p1 is hosed (still)
The recent patch posted by Steve VanDevender <stevev at darkwing.uoregon.edu>
for fixing the session code on Tru64 isn't quite right -- it still fails
in the case of NO tty being allocated.
The problem is that s->tty is a char[TTYSZ] rather than a char *, and
hence can't hold a NULL. Calling sia_ses_init() with the tty being an
empty string doesn't signify no tty, and