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 [EMAIL PROTECTED]
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.

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



--
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/

Reply via email to