delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2005/05/26/04:49:58

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Date: Thu, 26 May 2005 11:47:35 +0300
From: Pavel Rosenboim <e97665728 AT 013 DOT net>
Subject: Re: sftp exits with error NULL pointer given as argument
In-reply-to: <42957BAD.4040508@013.net>
To: cygwin AT cygwin DOT com
Message-id: <42958D27.6020500@013.net>
MIME-version: 1.0
References: <42957BAD DOT 4040508 AT 013 DOT net>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.8b2) Gecko/20050525

--------------030507020208060802040807
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit

Pavel Rosenboim wrote:

> Hi,
>
> I'm connecting with sftp from my work computer running Win2k SP4 to my 
> home computer running Fedora Core 3. My ssh config file turns on port 
> forwarding for several ports. In this configuration sftp exits with 
> error: "xfree: NULL pointer given as argument". When port forwarding 
> is turned off sftp connects without problems. Also this happens only 
> with sftp not ssh. The problem started after upgrading openssh package 
> to version 4.0p1 and doesn't happen with previous releases. I also 
> tried to connect from Fedora Core 4 test3 machine which also uses 
> openssh 4.0p1 with same configuration and it does work.
>
> Output of sftp -v -v -v -v -v pavel AT pashar DOT dyndns DOT org
> Connecting to pashar.dyndns.org...
> OpenSSH_4.0p1, OpenSSL 0.9.7g 11 Apr 2005
> debug1: Reading configuration data /home/pavelr/.ssh/config
> debug1: Applying options for pashar.dyndns.org
> debug1: Reading configuration data /etc/ssh_config
> xfree: NULL pointer given as argument
> Connection closed
>
 > Any changes made to /etc/ssh_config?

No changes to /etc/ssh_config, but many changes to .ssh/config. The most 
significant part is port forwarding (everything works when it is 
disabled) but I'm attaching my config file if you want to see everything.


--------------030507020208060802040807
Content-Type: text/plain;
 name="config"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
 filename="config"


Host=pashar.dyndns.org
CheckHostIP=no
Compression=yes
CompressionLevel=9
Port=995
Protocol=2
LocalForward	4080 127.0.0.1:4080
LocalForward	5801 127.0.0.1:5801
LocalForward	5901 127.0.0.1:5901
LocalForward	5900 127.0.0.1:5900
LocalForward	4001 127.0.0.1:4001
LocalForward	110 127.0.0.1:110
LocalForward	5912 127.0.0.1:5912
DynamicForward	2000
GatewayPorts=yes




--------------030507020208060802040807
Content-Type: text/plain; charset=us-ascii

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/
--------------030507020208060802040807--

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019