Community discussions

MikroTik App
用户头像
lapsio
Long time Member
Long time Member
Topic Author
Posts: 513
加入: 2016年结婚2月24日19点

Cannot scp rsc file to router

Sat Jul 06, 2019 11:45 pm

I can't seem to properly transfer .rsc file to device. When I perform:
Code:Select all
scp ./file.rsc ac:/import.rsc
upload hangs at 100%. If i interrupt it and try to import file it fails with
Code:Select all
bad command name 8 (line 1 column 1)
When I download uploaded file back to PC it has 1 additional line at the beginning:
Code:Select all
8 file.rsc
Also some lines near end of file are missing
Top
用户头像
mkx
Forum Guru
Forum Guru
Posts: 10310
加入: Thu Mar 03, 2016 10:23 pm

Re: Cannot scp rsc file to router

Sun Jul 07, 2019 11:13 am

I can scp a rsc file back and forth just fine.

Is there enough disk space on your RB? Lack of disk space would explain missing tail lines. Not the extra head line though ...
Top
用户头像
lapsio
Long time Member
Long time Member
Topic Author
Posts: 513
加入: 2016年结婚2月24日19点

Re: Cannot scp rsc file to router

Sun Jul 07, 2019 3:54 pm

It seems to be caused by fish shell for whatever reason. When using plain bash, scp to MikroTik works fine
Top

Who is online

Users browsing this forum:carcaussa,darjewellery,Maggiore81,xmanxsand 41 guests