Posts: 5
Threads: 2
Joined: Aug 2017
Reputation:
0
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
Posts: 5
Threads: 2
Joined: Aug 2017
Reputation:
0
01-30-2022, 03:18 AM
(This post was last modified: 01-30-2022, 03:26 AM by stellartk.)
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...
Posts: 1,849
Threads: 21
Joined: Sep 2015
Reputation:
0
02-10-2022, 08:30 PM
(This post was last modified: 02-10-2022, 08:33 PM by firenice03.)
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
Posts: 8,892
Threads: 541
Joined: Feb 2014
Reputation:
5
The extra code will be included in 6x
Sent from my mobile phone using Tapatalk
Posts: 5
Threads: 2
Joined: Aug 2017
Reputation:
0
G.M. Jerry. Thank you!
FWIW, same error upgrading from 5.2==>5.8. Your solution worked smoothly.
Looking forward to 6.x
Posts: 8,892
Threads: 541
Joined: Feb 2014
Reputation:
5
I actually use [[ $- == *i* ]] || return in my .bashrc currently, does anyone see a problem if I use this in 6x?
Posts: 1,509
Threads: 140
Joined: Mar 2016
Reputation:
0
[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.
Posts: 1,849
Threads: 21
Joined: Sep 2015
Reputation:
0
[member=5916]trinidad[/member]
I'll have to look into
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