Bug 489943

Summary: Trying to connect to an SSH Entry results in "Error issuing SSH Command"
Product: [Applications] konsole Reporter: Felix Lanz <felix.lanz>
Component: pluginsAssignee: Konsole Developer <konsole-devel>
Status: REPORTED ---    
Severity: minor    
Priority: NOR    
Version: 24.05.2   
Target Milestone: ---   
Platform: Flatpak   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Felix Lanz 2024-07-08 19:02:49 UTC
SUMMARY
Trying to connect to an SSH Entry results in "Error issuing SSH Command"
SELinux on permissisve did not change the behaviour.
The issue is not present when installing Konsole using yum, therefor I suspect the issue is due to bwrap sandboxing. 


STEPS TO REPRODUCE
1. Go to https://flathub.org/apps/org.kde.konsole
2. Install Konsole using "flatpak install flathub org.kde.konsole"
3. Start Konsole via the Fedora Desktop Environment (gnome)
4. Enable the SSH Manager plugin under Plugins
5. Add an Entry to the SSH Manager
6. Doubleclick to connect to the Entry

OBSERVED RESULT
The following error appears in a small window:
Title: "Error issuing SSH Command"
Body"Can't issue SSH command outside the shell application (eg, bash, zsh, sh)"

EXPECTED RESULT
SSH Connection to the specified SSH Manager entry.


SOFTWARE/OS VERSIONS
Linux/KDE Plasma: 5.14.0-427.18.1.el9_4.x86_64, Fedora 9.4
qt6
gnome 46.3.1
ssh -V: OpenSSH_9.6p1, OpenSSL 3.2.1 30 Jan 2024
Flatpak 1.15.8

ADDITIONAL INFORMATION
Konsole was installed on a pretty much freshly installed Fedora instance using flatpak.