![]() |
SCP in LL5.4 post Upgrade with fix - Printable Version +- Linux Lite Forums (https://www.linuxliteos.com/forums) +-- Forum: General (https://www.linuxliteos.com/forums/forumdisplay.php?fid=4) +--- Forum: On Topic (https://www.linuxliteos.com/forums/forumdisplay.php?fid=14) +--- Thread: SCP in LL5.4 post Upgrade with fix (/showthread.php?tid=8097) |
SCP in LL5.4 post Upgrade with fix - stellartk - 01-30-2022 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 Re: SCP in LL5.4 post Upgrade with fix - Valtam - 01-30-2022 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 ![]() Re: SCP in LL5.4 post Upgrade with fix - stellartk - 01-30-2022 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... Re: SCP in LL5.4 post Upgrade with fix - Valtam - 01-30-2022 Could you please try the following as a test instead of what you posted: Code: # If not running interactively, don't do anything It is what I use. Re: SCP in LL5.4 post Upgrade with fix - firenice03 - 02-10-2022 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 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 Re: SCP in LL5.4 post Upgrade with fix - Valtam - 02-10-2022 The extra code will be included in 6x Sent from my mobile phone using Tapatalk Re: SCP in LL5.4 post Upgrade with fix - stellartk - 02-13-2022 G.M. Jerry. Thank you! FWIW, same error upgrading from 5.2==>5.8. Your solution worked smoothly. Looking forward to 6.x Re: SCP in LL5.4 post Upgrade with fix - Valtam - 02-28-2022 I actually use [[ $- == *i* ]] || return in my .bashrc currently, does anyone see a problem if I use this in 6x? Re: SCP in LL5.4 post Upgrade with fix - trinidad - 02-28-2022 [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 Re: SCP in LL5.4 post Upgrade with fix - firenice03 - 02-28-2022 [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 ... |