Displaying 4 results from an estimated 4 matches for "session_x11_req".
2000 Jul 05
1
Openssh-2.1.1p2 BUG? X11 forwarding no longer works
BUG: X11 forwarding no longer works in Openssh-2.1.1p2.
I think this is due to the wrong sense of the test
in session.c:1372
session_x11_req(Session *s)
{
if (!no_port_forwarding_flag) {
debug("X11 forwarding disabled in user configuration
file.");
return 0;
}
It should be
session_x11_req(Session *s)
{
if (no_port_forwarding_flag) {
debug("X11 fo...
2009 Feb 07
0
Patch to 5.1p1 : Log X11 forwarding
...ession *s;
+ const char *host = NULL;
if ((s = session_by_channel(c->self)) == NULL) {
logit("session_input_channel_req: no session %d req %.100s",
@@ -2267,6 +2269,10 @@
success = session_pty_req(s);
} else if (strcmp(rtype, "x11-req") == 0) {
success = session_x11_req(s);
+ if (success) {
+ host = get_canonical_hostname(options.use_dns);
+ verbose("X11 forwarding for %s to %s", s->pw->pw_name, host);
+ }
} else if (strcmp(rtype, "auth-agent-req at openssh.com") == 0) {
success = session_auth_agent_req(s);
} else i...
2001 Jun 05
1
OpenSSH tmp cleanup
Hi,
I noticed that Markus has fixed the temporary file cleanup problems in
OpenSSH cvs. What files need patching for this ? I only noticed
changes in: session.c, channels.h and channels.c.
-Jarno
--
Jarno Huuskonen <Jarno.Huuskonen at uku.fi>
2001 Oct 24
2
disable features
...GENTFWD
if (auth_get_socket_name() != NULL)
child_set_env(&env, &envsize, SSH_AUTHSOCKET_ENV_NAME,
auth_get_socket_name());
+#endif
/* read $HOME/.ssh/environment. */
if (!options.use_login) {
@@ -1326,6 +1348,7 @@
return success;
}
+#ifdef WITH_X11FWD
static int
session_x11_req(Session *s)
{
@@ -1346,6 +1369,7 @@
}
return success;
}
+#endif
static int
session_shell_req(Session *s)
@@ -1366,6 +1390,7 @@
return 1;
}
+#ifdef WITH_AGENTFWD
static int
session_auth_agent_req(Session *s)
{
@@ -1382,6 +1407,7 @@
return auth_input_request_forwarding(s->pw);...