DO NOT REPLY [Bug 23987] - scp task doesn't complain if remote directory is not specified

2003-12-18 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=23987.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=23987

scp task doesn't complain if remote directory is not specified

[EMAIL PROTECTED] changed:

   What|Removed |Added

Version|1.6Beta |1.6.0

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



DO NOT REPLY [Bug 23987] - scp task doesn't complain if remote directory is not specified

2003-10-24 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=23987.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=23987

scp task doesn't complain if remote directory is not specified





--- Additional Comments From [EMAIL PROTECTED]  2003-10-24 02:21 ---
How odd that we get different results.
It works fine when I use dot as the remote directory i.e.
target name=scptest
scp file=/etc/sysctl.conf todir=[EMAIL PROTECTED]:. password=pwd/
/target

The problem also happens regardless of whether I use a keyfile or password auth.

I have a suspicion that this behaviour is being triggered by a problem in jsch.
I've been looking at the logging produced by sshd with a LOGLEVEL of DEBUG3 and
it appears that sshd doesn't always get an eof and when using the target above,
sshd gets and eof but doesn't close the stream that it's reading from in a nice
manner. FWIW, openssh causes sshd to do everything normally

I've posted to the jsch-users list and hope to get some answers. The post isn't
archived just yet, but you should be able to find it eventually at:
http://sourceforge.net/mailarchive/forum.php?forum_id=12628
under a thread puzzling rcvd and close_ messages

Either way, Stefan's suggestion to make . the default target directory solves
this issue, regardless of whether it's ant or jsch

Robert, the known_hosts warning has been fixed in beta2, so I'm not getting it
anymore. Thanks.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



DO NOT REPLY [Bug 23987] - scp task doesn't complain if remote directory is not specified

2003-10-24 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=23987.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=23987

scp task doesn't complain if remote directory is not specified

[EMAIL PROTECTED] changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||FIXED



--- Additional Comments From [EMAIL PROTECTED]  2003-10-24 08:02 ---
Fixed by making remotedir default to ., I'll take care of Atsuhiko's other
suggestions separately.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



DO NOT REPLY [Bug 23987] - scp task doesn't complain if remote directory is not specified

2003-10-23 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=23987.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=23987

scp task doesn't complain if remote directory is not specified





--- Additional Comments From [EMAIL PROTECTED]  2003-10-23 01:39 ---
I'm using jsch 0.1.8, ant1.6beta2.
I've tried running this with a win2k client and a redhat7.3 client with the same
result. Both are connecting to a rh7.3 machine.
ssh -V on the server machine gives:
OpenSSH_3.1p1, SSH protocols 1.5/2.0, OpenSSL 0x0090602f

I'll see if I can find another version to test against.

What version are you using?

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



DO NOT REPLY [Bug 23987] - scp task doesn't complain if remote directory is not specified

2003-10-23 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=23987.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=23987

scp task doesn't complain if remote directory is not specified





--- Additional Comments From [EMAIL PROTECTED]  2003-10-23 02:07 ---
The behaviour is the same to debian woody remote host, where ssh -V gives:
OpenSSH_3.4p1 Debian 1:3.4p1-1.woody.3, SSH protocols 1.5/2.0, OpenSSL 
0x0090603f

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



DO NOT REPLY [Bug 23987] - scp task doesn't complain if remote directory is not specified

2003-10-23 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=23987.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=23987

scp task doesn't complain if remote directory is not specified





--- Additional Comments From [EMAIL PROTECTED]  2003-10-23 09:46 ---
OpenSSH_3.1p1, SSH protocols 1.5/2.0, OpenSSL 0x0090602f

on RedHat 7.3.  Strange.

Does it work with . as directory?  We could make that the default if the 
directory
has been omited.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



DO NOT REPLY [Bug 23987] - scp task doesn't complain if remote directory is not specified

2003-10-23 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=23987.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=23987

scp task doesn't complain if remote directory is not specified





--- Additional Comments From [EMAIL PROTECTED]  2003-10-23 20:33 ---
The error you are getting says that ant cannot find your known_hosts file.

Do you have a known_hosts file in
C:\Documents and Settings\user\.ssh\known_hosts

??

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



DO NOT REPLY [Bug 23987] - scp task doesn't complain if remote directory is not specified

2003-10-22 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=23987.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=23987

scp task doesn't complain if remote directory is not specified

[EMAIL PROTECTED] changed:

   What|Removed |Added

 CC||[EMAIL PROTECTED]
 AssignedTo|[EMAIL PROTECTED]  |[EMAIL PROTECTED]
   Target Milestone|--- |1.6

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



DO NOT REPLY [Bug 23987] - scp task doesn't complain if remote directory is not specified

2003-10-22 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=23987.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=23987

scp task doesn't complain if remote directory is not specified





--- Additional Comments From [EMAIL PROTECTED]  2003-10-22 14:54 ---
It seems to depend on the receiving side (or your jsch version).

Using JSch 0.1.8, Ant 1.6beta2 and OpenSSH on the receiving end, leaving
out the directory puts the file into my home dir for me.

Which version of JSch are you using?

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]