iterate-ch / cyberduck

Cyberduck is a libre FTP, SFTP, WebDAV, Amazon S3, Backblaze B2, Microsoft Azure & OneDrive and OpenStack Swift file transfer client for Mac and Windows.
https://cyberduck.io/
GNU General Public License v3.0
3.33k stars 290 forks source link

sftp: I enter a username and it is not reflected in the url #16366

Closed vincentluciani closed 1 month ago

vincentluciani commented 1 month ago

Describe the bug I am using Cyberduck for Mac. I am opening a new connection for sftp. When I enter the Server ip, it gets reflected in the URL, but when I enter the username, it is not appended to the server IP in the URL field.

To Reproduce Steps to reproduce the behavior:

  1. In the menu "File", choose "Open connection"
  2. Choose option SFTP (SSH Transfer Protocol)
  3. Enter the server IP in the Server edit field. For example 120.10.10.10. The url field becomes sftp://120.10.10.10
  4. Enter the username in the Username edit field. For example root
  5. See error: The url field is still sftp://120.10.10.10, not sftp://root@120.10.10.10
  6. The problem is still the same when I choose the private key

Expected behavior The url should become sftp://root@120.10.10.10

Screenshot 2024-09-22 at 12 54 06

Desktop (please complete the following information):

vincentluciani commented 1 month ago

Note that I am able to connect with the same credentials on the same Mac to this server using the Mac termina

AliveDevil commented 1 month ago

The displayed url is just for informational purposes - the real connection is perfomed using the properties, as defined in the connection window. Nonetheless, the displayed url should represent the expected format of protocol://identity@host.

Please attach the debug log or send it to support@cyberduck.io, with subject "GH-16366".

dkocher commented 1 month ago

This is intended as of 6295e0023dae0a00adff6b3bea76cf67deb63cc1 as many protocols do not allow representing the username credentials in the URL.