| Summary: | Cannot connect to remote servers from .ssh/config/ that don't use a resolvable hostname as an identifier | ||
|---|---|---|---|
| Product: | [Frameworks and Libraries] kio-extras | Reporter: | jan <jan> |
| Component: | SFTP | Assignee: | Plasma Bugs List <plasma-bugs-null> |
| Status: | CONFIRMED --- | ||
| Severity: | normal | CC: | kde, krusader-bugs-null, voidpointertonull+bugskdeorg |
| Priority: | NOR | ||
| Version First Reported In: | unspecified | ||
| Target Milestone: | --- | ||
| Platform: | Ubuntu | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
|
Description
jan
2024-01-30 16:27:47 UTC
Initially I wanted to just conclude that it's a works for me kind of matter, but although the IP address you provided is not valid, I figured the friendly hostname pattern was deliberate, so I gave that a try. It turns out that the problem is with the underscore, can reproduce seeing the 3 line error message that way. The issue doesn't appear without special characters or for example dash being used as a separator. Can also reproduce the issue with Dolphin, so not likely to be specific to Krusader, it's more likely to be a KIO (slave) problem. KDE Plasma Version: 5.27.8 KDE Frameworks Version: 5.110.0 For me it does not work even without any underscores in the `Host` field:
```
Host contabo
HostName <my DNS name>
User root
IdentityFile ~/.ssh/id_rsa
RequestTTY yes
RemoteCommand fish
```
Kubuntu 23.10
KDE-Plasma-Version: 5.27.8
KDE-Frameworks-Version: 5.110.0
When I then use `sftp://contabo` in Krusader it gives me `Failed to resolve hostname contabo`
|