LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Closed Thread
  Search this Thread
Old 08-14-2020, 10:56 PM   #1
jy824212
LQ Newbie
 
Registered: Dec 2017
Posts: 28

Rep: Reputation: Disabled
wolfssh returns error code 1 even the file has been transferred to the server successfully


Hi,

Recently I have faced this error

I used
Code:
scp -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no user.log root@myserver:/home/root
echo $? 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/root
swload.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”.

Did another test whenever the file size exceeds 500 kB it will return
Code:
channel_by_id: 0: bad id: channel free
Disconnecting: Received ieof for nonexistent channel 0.
wonder if is because of the buffer size has reached the defined one

Best Regards
 
Old 08-15-2020, 06:17 AM   #2
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 15,302
Blog Entries: 9

Rep: Reputation: 4377Reputation: 4377Reputation: 4377Reputation: 4377Reputation: 4377Reputation: 4377Reputation: 4377Reputation: 4377Reputation: 4377Reputation: 4377Reputation: 4377
Another (!) duplicate of https://www.linuxquestions.org/quest...ly-4175680410/
 
Old 08-15-2020, 09:37 AM   #3
jy824212
LQ Newbie
 
Registered: Dec 2017
Posts: 28

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by ondoho View Post
I believe this is the right place to put this thread
 
Old 08-15-2020, 02:24 PM   #4
boughtonp
Member
 
Registered: Feb 2007
Location: UK
Distribution: Debian
Posts: 567

Rep: Reputation: 366Reputation: 366Reputation: 366Reputation: 366
Quote:
Originally Posted by jy824212 View Post
I believe this is the right place to put this thread
The correct procedure is to report your original thread to a moderator and ask them to move it.

 
  


Closed Thread


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
wolfssh returns error code 1 even the file has been transferred to the server successfully jy824212 Linux - Newbie 2 08-15-2020 07:32 AM
wolfssh returns error code 1 even the file has been transferred to the server successfully jy824212 Linux - Networking 3 08-14-2020 10:54 PM
How start an action when a file has been transferred pingu Programming 2 03-07-2012 11:57 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 10:07 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration