LINUX LITE 7.2 FINAL RELEASED - SEE RELEASE ANNOUNCEMENTS SECTION FOR DETAILS


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
SCP in LL5.4 post Upgrade with fix
#1
FWIW/FYI
- Upgraded LL 5.2 TO 5.4 VIA CLI GUI
- SCP would NOT transfer to remote hosts
- Would STOP at Welcome to Linux Lite 5.2 (GNU/Linux 5.4.0-96-generic x86_64)"
- Performed SCP -v option ; GENERATED ERROR  "debug1: Exit status -1 ""
- From another pc running LL 5.2, opened  .bashrc
- Noticed line 1 ===> [[ $- != *i* ]] && return <===        missing on 5.4 .bashrc
- added line in 5.4 .bashrc on line 1
- SCP working
Reply
#2
Whats the full command you are trying? Why did you cli upgrade when we have a GUI for that? Please remove the caps in your title, no one likes being shouted at Smile Cheers.
Reply
#3
correct..I used the GUI to upgrade and rebooted..

Then was attempted run transfer files from another desktop running LM 20.1 to LL5.4. Noticed error.

MAJOR POSTING CORRECTION: I did state "CLI".. Apologies

If I created/posted in wrong area, please move to appropriate location.
Thanks...
Reply
#4
Could you please try the following as a test instead of what you posted:

Code:
# If not running interactively, don't do anything
[[ $- == *i* ]] || return

It is what I use.
Reply
#5
I noticed the same when SCP a couple files from Windows to my LL system...
Just the Welcome line...
Code:
Welcome to Linux Lite 4.8 boys

Code:
uname -r
4.15.0-167-generic
cat /etc/llver
Linux Lite 4.8

Same with 5.6.
Code:
Welcome to Linux Lite 5.6 trcd

Adding the line to the .bachrc worked..
Code:
# If not running interactively, don't do anything
[[ $- == *i* ]] || return
LL4.8 UEFI 64 bit ASUS E402W - AMD E2 (Quad) 1.5Ghz  - 4GB - AMD Mullins Radeon R2
LL5.8 UEFI 64 bit Test UEFI Kangaroo (Mobile Desktop) - Atom X5-Z8500 1.44Ghz - 2GB - Intel HD Graphics
LL4.8 64 bit HP 6005- AMD Phenom II X2 - 8GB - AMD/ATI RS880 (HD4200)
LL3.8 32 bit Dell Inspiron Mini - Atom N270 1.6Ghz - 1GB - Intel Mobile 945GSE Express  -- Shelved
BACK LL5.8 64 bit Dell Optiplex 160 (Thin) - Atom 230 1.6Ghz - 4GB-SiS 771/671 PCIE VGA - Print Server
Running Linux Lite since LL2.2
Reply
#6
The extra code will be included in 6x

Sent from my mobile phone using Tapatalk

Reply
#7
G.M. Jerry. Thank you!

FWIW, same error upgrading from 5.2==>5.8. Your solution worked smoothly.

Looking forward to 6.x
Reply
#8
I actually use [[ $- == *i* ]] || return in my .bashrc currently, does anyone see a problem if I use this in 6x?
Reply
#9
[member=5414]firenice03[/member]
Cross platform nowadays I have changed over to using ssh server and an xming server on Windows 10 with xforwarding enabled and then using any Linux with a Remmina  client installed. Just forward Remmina to your Windows desktop and then use its sftp interface to transfer files in either direction. Works fine and easy to teach others, which is of course part of my ongoing problems with the few business networks I still maIntain.

TC 
All opinions expressed and all advice given by Trinidad Cruz on this forum are his responsibility alone and do not necessarily reflect the views or methods of the developers of Linux Lite. He is a citizen of the United States where it is acceptable to occasionally be uninformed and inept as long as you pay your taxes.
Reply
#10
[member=5916]trinidad[/member]
I'll have to look into Smile
I'll use Remmina to remoted to Windows as it also works with RDP...
From windows - if I recall I used Powershell and wanted to send a couple files --- I could of went through a share too (its there) but it was a "one" off I wanted the files in a specific directory vs yada yada... LOL ...
LL4.8 UEFI 64 bit ASUS E402W - AMD E2 (Quad) 1.5Ghz  - 4GB - AMD Mullins Radeon R2
LL5.8 UEFI 64 bit Test UEFI Kangaroo (Mobile Desktop) - Atom X5-Z8500 1.44Ghz - 2GB - Intel HD Graphics
LL4.8 64 bit HP 6005- AMD Phenom II X2 - 8GB - AMD/ATI RS880 (HD4200)
LL3.8 32 bit Dell Inspiron Mini - Atom N270 1.6Ghz - 1GB - Intel Mobile 945GSE Express  -- Shelved
BACK LL5.8 64 bit Dell Optiplex 160 (Thin) - Atom 230 1.6Ghz - 4GB-SiS 771/671 PCIE VGA - Print Server
Running Linux Lite since LL2.2
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)