wolfssh returns error code 1 even the file has been transferred to the server successfully
by jy824212 from LinuxQuestions.org on (#56XT2)
Hi,
Recently I have faced this error
I used
Code:scp -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no user.log root@myserver:/home/rootecho $? will give me 0 indicates that it's succeeding, but I think because user.log is small size (2kB roughly)
Now I changed to
Code:scp -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no swload.zip root@myserver:/home/rootswload.zip is 30 MB I am still able to transfer to my server by
echo $? returns me 1 this time
And I got this error:
Code:channel_by_id: 0: bad id: channel free
Disconnecting: Received ieof for nonexistent channel 0.server:wolfssh (myserver)
client: openssh scp client (local)
Any one knows how to fix this ?
Seems like there is an interop error wolfssh_scp_server and openssh scp client".
Best Regards


Recently I have faced this error
I used
Code:scp -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no user.log root@myserver:/home/rootecho $? will give me 0 indicates that it's succeeding, but I think because user.log is small size (2kB roughly)
Now I changed to
Code:scp -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no swload.zip root@myserver:/home/rootswload.zip is 30 MB I am still able to transfer to my server by
echo $? returns me 1 this time
And I got this error:
Code:channel_by_id: 0: bad id: channel free
Disconnecting: Received ieof for nonexistent channel 0.server:wolfssh (myserver)
client: openssh scp client (local)
Any one knows how to fix this ?
Seems like there is an interop error wolfssh_scp_server and openssh scp client".
Best Regards