LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   SFTP fails in KDE Plasma 5 and Evolution email fails to start (https://www.linuxquestions.org/questions/linux-software-2/sftp-fails-in-kde-plasma-5-and-evolution-email-fails-to-start-4175682451/)

alex4buba 09-20-2020 04:49 PM

SFTP fails in KDE Plasma 5 and Evolution email fails to start
 
I have moved recently to using KDE / Plasma GUI. All goes OK, except:

1) Trying to use FileZilla, it fails to connect to my website. I tried also other FTP client software, but no go. It seems, that something in my KDE OS is in the way or I am missing on some setup.

2) When starting Evolution each morning, it opens OK. But at times, it fails to start and I am forced to restart the machine.

Hope someone has an idea for eaither of those problems.

Thank you
Alex

wpeckham 09-21-2020 05:26 AM

KDE is a desktop environment, not an operating system.

We will presume that you are running Linux, at least until you inform us otherwise.

What is the distribution and version?
What versions of the apps have you installed, and how did you install them?
Why are you "forced to reboot" to restart a single application?
Where is your website, and can you ping it from that machine?
Do your remote hostnames resolve properly?
Is your website server supposed to be SSH accessible, and can it be accessed from other hosts?

We MAY be able to answer one or both of the questions, once we understand what you are really talking about.

Turbocapitalist 09-21-2020 05:33 AM

In addition to answering the above important questions which we need to help diagnose and solve the problems, please make sure that you are using FileZilla to connect to port 22 for SSH and SFTP and not old, nasty, outdated, unencrypted FTP which is on both ports 20 and 21 instead. You can choose SFTP with either the Quick Connect option or the Site Manager.

If you use the Site Manager, again, please make sure that you have chosen SFTP - SSH File Transfer Protocol on port 22 and not old, nasty, outdated, unencrypted FTP. The default is FTP so you will have to actually choose SFTP.

JZL240I-U 09-21-2020 05:36 AM

Hint: Within KDE / Plasma it should be easiest to use dolphin for SFTP. If you still experience problems maybe this can help:

https://www.linuxquestions.org/quest...ng-4175629880/

Turbocapitalist 09-21-2020 05:41 AM

Quote:

Originally Posted by JZL240I-U (Post 6168204)
Hint: Within KDE / Plasma it should be easiest to use dolphin for SFTP.

Good point.

In Dolphin, press ctrl-l and enter the URL for your server. Substitute the right user name, address, and directory path:

Code:

sftp://alex4buba@server.example.com/var/www/html/
Then press enter and it will connect and you may then drag and drop files remotely as if they were stored locally.

alex4buba 09-21-2020 07:31 AM

Quote:

Originally Posted by wpeckham (Post 6168201)
KDE is a desktop environment, not an operating system.

We will presume that you are running Linux, at least until you inform us otherwise.

What is the distribution and version?
What versions of the apps have you installed, and how did you install them?
Why are you "forced to reboot" to restart a single application?
Where is your website, and can you ping it from that machine?
Do your remote hostnames resolve properly?
Is your website server supposed to be SSH accessible, and can it be accessed from other hosts?

We MAY be able to answer one or both of the questions, once we understand what you are really talking about.

OK, I "Divorced" Windows after 30 years and moved some 3 months ago to Ubuntu 20.04 LTS on an Intel NUC, 16GB RAM and 250GiB free storage on a 512GB device - Single bott OS. I then loaded KDE Plasma 5.18.5 and happy with my move.

I don't know, which version apps, but in general I am using Chrome browser, Evolution for email, Flowblade for video clip editing, SONOS-Controller-Unofficial, Zoom, KDE Connect, Muon Package Manager, Notepadqq, Pinta for image editing and Video downloader. All the rest are OS built-in apps.

I removed Firefox, can that be the reason?

The website in question is here : https://ourvilla.net.au - I am able to connect FileZilla via FTP bu not via SFTP. Trying to ping - is sitting in terminal and going nowhere:

Code:

alex@alex-NUC8i7HNK:~$ ping ourvilla.net.au
PING ourvilla.net.au (13.55.180.246) 56(84) bytes of data.

My setup is :
Code:

My setup is as follows:

SFTP-SSh File Transfer Protocol - Port 22
Host : ftp.ourvilla.net.au
Logon Type : Normal - is this correct?
User : ouou8736
Password, the same one I use for FTP setup

When I try to use just FTP, it works as per the setup directives on your websit, but when I try SFT, I face the following:

Code:

Status: Connecting to ftp.ourvilla.net.au...
Response: fzSftp started, protocol_version=9
Command: open "ouou8736@ftp.ourvilla.net.au" 22
Error: Connection timed out after 60 seconds of inactivity
Error: Could not connect to server
Status: Waiting to retry...
Status: Connecting to ftp.ourvilla.net.au...
Response: fzSftp started, protocol_version=9
Command: open "ouou8736@ftp.ourvilla.net.au" 22

When Evolution doesn't start, I tried looking in Task Manager to stop it, but another attempt to start fails, so I don't know of any other way other than Restart the machine.

Thank you
Alex

alex4buba 09-21-2020 07:35 AM

Quote:

Originally Posted by Turbocapitalist (Post 6168207)
Good point.

In Dolphin, press ctrl-l and enter the URL for your server. Substitute the right user name, address, and directory path:

Code:

sftp://alex4buba@server.example.com/var/www/html/
Then press enter and it will connect and you may then drag and drop files remotely as if they were stored locally.

Sorry, I am new in Linux,

My url is https://ourvilla.net.au

Not clear what should I do with this:

Code:

sftp://alex4buba@server.example.com/var/www/html/
Thanks
Alex

Turbocapitalist 09-21-2020 07:39 AM

You would put in your account name and remote host name and then the path of the directory on the remote server where you wish to start. Based on what you posted a bit earlier, that might be:

Code:

sftp://ouou8736@ourvilla.net.au/home/ouou8736/
Open the file manager, which should be Dolphin in KDE, and press ctrl-l (that's a lowercase L) and then enter the above URL into the location bar of the file manager. It should then ask for your password, if you are not using keys already, and then once you are in show your remote files in the Dolphin window.

alex4buba 09-21-2020 03:30 PM

1 Attachment(s)
Quote:

Originally Posted by Turbocapitalist (Post 6168232)
You would put in your account name and remote host name and then the path of the directory on the remote server where you wish to start. Based on what you posted a bit earlier, that might be:

Code:

sftp://ouou8736@ourvilla.net.au/home/ouou8736/
Open the file manager, which should be Dolphin in KDE, and press ctrl-l (that's a lowercase L) and then enter the above URL into the location bar of the file manager. It should then ask for your password, if you are not using keys already, and then once you are in show your remote files in the Dolphin window.

Hello again,

I followed your suggestion literally and got the attached image. Will just add, my home directory on the site is : /public_html - where on that command line should I specify this?

It didn't ask me for any password

Thanks
Alex

wpeckham 09-21-2020 05:08 PM

If you can connect to a host using one service, but not ANOTHER service, that would indicate the the network is connected and resolution is working, but that the failing service is down or blocked on the remote host.

What can you tell us about the remote host and services running there?
Again, can any other client machines connect to that host on the SSH services port? (22, which also serves SCP and SFTP)

alex4buba 09-21-2020 05:16 PM

Quote:

Originally Posted by wpeckham (Post 6168391)
If you can connect to a host using one service, but not ANOTHER service, that would indicate the the network is connected and resolution is working, but that the failing service is down or blocked on the remote host.

What can you tell us about the remote host and services running there?
Again, can any other client machines connect to that host on the SSH services port? (22, which also serves SCP and SFTP)

Please understand, I am a private retired person sitting at home ... I have no idea about "Other client machines" out there.

I am connecting without any problem to that server using FTP, but NOT SFTP on port 22

Thanks
Alex

Turbocapitalist 09-21-2020 10:18 PM

Quote:

Originally Posted by alex4buba (Post 6168369)
I followed your suggestion literally and got the attached image. Will just add, my home directory on the site is : /public_html - where on that command line should I specify this?

It didn't ask me for any password

Ok. Try also the other address, the one starting with ftp. in the name:

Code:

sftp://ouou8736@ftp.ourvilla.net.au/public_html/
If that does not connect then it is likely you do not have SFTP available yet on the system you are trying to connect to.

alex4buba 09-21-2020 10:30 PM

Quote:

Originally Posted by Turbocapitalist (Post 6168450)
Ok. Try also the other address, the one starting with ftp. in the name:

Code:

sftp://ouou8736@ftp.ourvilla.net.au/public_html/
If that does not connect then it is likely you do not have SFTP available yet on the system you are trying to connect to.

I tried that too, the same result. I reported this to my host company and waiting for them to get back to me.

Thanks for your time, I will report back here when I get news

Cheers
Alex

alex4buba 09-22-2020 08:17 PM

Quote:

Originally Posted by alex4buba (Post 6168451)
I tried that too, the same result. I reported this to my host company and waiting for them to get back to me.

Thanks for your time, I will report back here when I get news

Cheers
Alex

Got response from my host site provider:

Quote:

I'm sorry to say that we do not support SFTP on our shared servers. You will not able to access SFTP for his domain


Sorry that I wasted your time (and mine)

Cheers
Alex

scasey 09-22-2020 08:36 PM

Egad!
Does that mean you can’t ssh to that server? At the command line...?


All times are GMT -5. The time now is 06:33 PM.