Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
vincentluciani opened this issue Sep 22, 2024 · 3 comments
Closed

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

vincentluciani opened this issue Sep 22, 2024 · 3 comments
Assignees
Labels
interface User Interface sftp SFTP Protocol Implementation

Comments

@vincentluciani
Copy link

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):

  • OS: macOS
  • Version 15.0
@vincentluciani
Copy link
Author

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

@AliveDevil
Copy link
Contributor

AliveDevil commented Sep 23, 2024

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
Copy link
Contributor

dkocher commented Sep 23, 2024

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

@dkocher dkocher closed this as completed Sep 23, 2024
@dkocher dkocher added the sftp SFTP Protocol Implementation label Sep 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
interface User Interface sftp SFTP Protocol Implementation
Projects
None yet
Development

No branches or pull requests

3 participants