LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Closed Thread
  Search this Thread
Old 08-14-2020, 12:28 PM   #1
jy824212
Member
 
Registered: Dec 2017
Posts: 31

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”.

Best Regards

Last edited by jy824212; 08-14-2020 at 08:08 PM.
 
Old 08-14-2020, 07:25 PM   #2
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 16,676
Blog Entries: 27

Rep: Reputation: 5063Reputation: 5063Reputation: 5063Reputation: 5063Reputation: 5063Reputation: 5063Reputation: 5063Reputation: 5063Reputation: 5063Reputation: 5063Reputation: 5063
Reported as duplicate.
 
Old 08-15-2020, 07:32 AM   #3
rtmistler
Moderator
 
Registered: Mar 2011
Location: USA
Distribution: MINT Debian, Angstrom, SUSE, Ubuntu, Debian
Posts: 8,994
Blog Entries: 13

Rep: Reputation: 4116Reputation: 4116Reputation: 4116Reputation: 4116Reputation: 4116Reputation: 4116Reputation: 4116Reputation: 4116Reputation: 4116Reputation: 4116Reputation: 4116
@jy824212,

You've been a member of LQ long enough to know this:

Please post your thread in only one forum. Posting a single thread in the most relevant forum will make it easier for members to help you and will keep the discussion in one place. This thread is being closed because it is a duplicate.
 
  


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
Red Hat 7> dns server slave zone file not transferred iftikhar.tutul Linux - Newbie 3 04-20-2016 07:27 AM
How start an action when a file has been transferred pingu Programming 2 03-07-2012 11:57 AM
How to find packet size that is been transferred toraghun Linux - Networking 1 07-07-2009 06:24 AM
My web server has been hacked. SU password has been disabled rcrosoer Linux - Security 11 06-27-2008 02:18 PM
/home has been successfully moved jeremy LQ Suggestions & Feedback 3 08-18-2000 05:25 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 01:25 AM.

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