[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#495917: openssh-client: patch for Netscreen - not sure how it affects other systems



Subject: openssh-client: patch for Netscreen - not sure how it affects other systems
Followup-For: Bug #495917
Package: openssh-client

*** Please type your report below this line ***

the provided patch did not help but I have found the problem:
it is the part
"If we don't expect to open a new session, then disallow it"
in ssh.c
which did "debug1: Requesting no-more-sessions@openssh.com"

I commented it out completely and it works
So there is no need to have a new NetScreen line in compat.c


--- ssh.c.orig  2008-08-28 14:54:39.000000000 +0200
+++ ssh.c       2008-08-28 14:52:49.000000000 +0200
@@ -1205,13 +1205,13 @@ ssh_session2(void)
                id = ssh_session2_open();
 
        /* If we don't expect to open a new session, then disallow it */
-       if (options.control_master == SSHCTL_MASTER_NO) {
-               debug("Requesting no-more-sessions@openssh.com");
-               packet_start(SSH2_MSG_GLOBAL_REQUEST);
-               packet_put_cstring("no-more-sessions@openssh.com");
-               packet_put_char(0);
-               packet_send();
-       }
+//     if (options.control_master == SSHCTL_MASTER_NO) {
+//             debug("Requesting no-more-sessions@openssh.com");
+//             packet_start(SSH2_MSG_GLOBAL_REQUEST);
+//             packet_put_cstring("no-more-sessions@openssh.com");
+//             packet_put_char(0);
+//             packet_send();
+//     }
 
        /* Execute a local command */
        if (options.local_command != NULL &&


best regards
Reinhold

-- System Information:
Debian Release: lenny/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)

Kernel: Linux 2.6.25-2-686 (SMP w/2 CPU cores)
Locale: LANG=de_DE@euro, LC_CTYPE=de (charmap=ISO-8859-15) (ignored: LC_ALL set
to de_DE@euro)
Shell: /bin/sh linked to /bin/bash



----------------------------------------------------
This mail has been sent using Alpikom webmail system
http://www.alpikom.it




Reply to: