Bug 476082 - sftp doesn't connect
Summary: sftp doesn't connect
Status: REPORTED
Alias: None
Product: kio-extras
Classification: Frameworks and Libraries
Component: SFTP (other bugs)
Version First Reported In: 21.12.3
Platform: Ubuntu Linux
: NOR normal
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-10-25 12:17 UTC by Jiri Prchal
Modified: 2023-10-27 09:32 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jiri Prchal 2023-10-25 12:17:13 UTC
Either krusader or dolphin doesn't connect to sftp, it says "Authentication failed". Using keys, confugured in ~/.ssh/config, ssh on terminal connnects, but krusader don't.
Regardless I configured:
 	ControlMaster auto
	ControlPath /tmp/ssh-%r@%h:%p
	ControlPersist 1h
to reuse connection and while terminal is connected.
Comment 1 Jiri Prchal 2023-10-27 09:32:44 UTC
At server I see that it uses wrong keys:
2023-10-27T11:28:17.596774+02:00 server sshd[3101997]: Connection from 172.25.162.3 port 58006 on 172.25.162.1 port 10022 rdomain ""
2023-10-27T11:28:17.758707+02:00 server sshd[3101997]: Failed publickey for root from 172.25.162.3 port 58006 ssh2: RSA SHA256:i/L+kWVFQ9rQwJp9QuSdbPzJrgB2aK1UpQIpzMrcxY0
2023-10-27T11:28:17.774333+02:00 server sshd[3101997]: Failed publickey for root from 172.25.162.3 port 58006 ssh2: ED25519 SHA256:xqRaul+mmqrYpc4+/dyNyCAwLQrb1T8gxgVMuV6JBqM
2023-10-27T11:28:17.792270+02:00 server sshd[3101997]: Failed publickey for root from 172.25.162.3 port 58006 ssh2: ED25519 SHA256:DEEw28Q9ezlz+2boYKivXBLVPgUkJ0B/xW4p6mHuInk
2023-10-27T11:28:17.811774+02:00 server sshd[3101997]: Failed publickey for root from 172.25.162.3 port 58006 ssh2: ECDSA SHA256:WO1GF4GszXH6VtKDirogkiSZGvAfd09yZlHg7py8JP0
2023-10-27T11:28:17.828266+02:00 server sshd[3101997]: Failed publickey for root from 172.25.162.3 port 58006 ssh2: ED25519 SHA256:Qlz9lv+gAs6hXC37rwDrMRo96rrh41yMEtnVQnqsLEw
2023-10-27T11:28:17.846577+02:00 server sshd[3101997]: Failed publickey for root from 172.25.162.3 port 58006 ssh2: ED25519 SHA256:wZPvzchWd+ZPH2zW3xuhBYACButCo+XzmUClIOWXmTI
2023-10-27T11:28:17.852984+02:00 server sshd[3101997]: error: maximum authentication attempts exceeded for root from 172.25.162.3 port 58006 ssh2 [preauth]
2023-10-27T11:28:17.853793+02:00 server sshd[3101997]: Disconnecting authenticating user root 172.25.162.3 port 58006: Too many authentication failures [preauth]

Where it takes the rsa or ecdsa from?