OpenSSH
[Top] [All Lists]

max cmd. length in sftp?

To: openssh-unix-dev@mindrot.org
Subject: max cmd. length in sftp?
From: "olle ollesson" <bpsr77@hotmail.com>
Date: Mon, 12 Mar 2007 10:25:25 +0100
Delivered-to: sp-com-lists@consult.net
Delivered-to: openssh-unix-dev-list1@securepoint.com
Delivered-to: openssh-unix-dev-tmda@mindrot.org
Delivered-to: openssh-unix-dev@mindrot.org
List-archive: <http://lists.mindrot.org/pipermail/openssh-unix-dev>
List-help: <mailto:openssh-unix-dev-request@mindrot.org?subject=help>
List-id: Development of portable OpenSSH <openssh-unix-dev.mindrot.org>
List-post: <mailto:openssh-unix-dev@mindrot.org>
List-subscribe: <http://lists.mindrot.org/mailman/listinfo/openssh-unix-dev>, <mailto:openssh-unix-dev-request@mindrot.org?subject=subscribe>
List-unsubscribe: <http://lists.mindrot.org/mailman/listinfo/openssh-unix-dev>, <mailto:openssh-unix-dev-request@mindrot.org?subject=unsubscribe>
Sender: openssh-unix-dev-bounces+openssh-unix-dev-list1=securepoint.com@mindrot.org
Hi,

I've found by empirical methods that there is a limit to command in sftp. In 
fact the sftp client hangs after 256 characters of input.

I've tested on the following two implementations:

1) OpenSSH_4.2p1, OpenSSL 0.9.8a 11 Oct 2005

2) SSH Version Sun_SSH_1.0.1, protocol versions 1.5/2.0.

Both behave in the same manner.

The reason I'm askin is that we're having problems in solaris which allows 
filenames longer than 256 chars long. It's not currently possible (without 
the use of wildcards) to fetch these files.

Is this a client implementation limitation or a limitation in the sftp/ssh 
specification?

Thanks in advance.

_________________________________________________________________
Express yourself instantly with MSN Messenger! Download today it's FREE! 
http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/

_______________________________________________
openssh-unix-dev mailing list
openssh-unix-dev@mindrot.org
http://lists.mindrot.org/mailman/listinfo/openssh-unix-dev

<Prev in Thread] Current Thread [Next in Thread>
  • max cmd. length in sftp?, olle ollesson <=