Skip to content

[GH-516] Fix filesystem-id parsing in getFileSystem(URI)#766

Merged
tomaswolf merged 1 commit into
apache:masterfrom
ago1024:master
Jul 20, 2025
Merged

[GH-516] Fix filesystem-id parsing in getFileSystem(URI)#766
tomaswolf merged 1 commit into
apache:masterfrom
ago1024:master

Conversation

@ago1024
Copy link
Copy Markdown
Contributor

@ago1024 ago1024 commented Jun 23, 2025

  • Allow userinfo without password
  • Validate hostname
  • Use port 22 as default

Fixes Filesystem Provider with SSH key-based authentication #516

@tomaswolf
Copy link
Copy Markdown
Member

The build fails with

Error:  Failed to execute goal net.revelc.code.formatter:formatter-maven-plugin:2.26.0:validate (format) on project sshd-sftp: File '/home/runner/work/mina-sshd/mina-sshd/sshd-sftp/src/test/java/org/apache/sshd/sftp/client/fs/SftpFileSystemProviderURITest.java' has not been previously formatted. Please format file (for example by invoking `mvn -f sshd-sftp net.revelc.code.formatter:formatter-maven-plugin:2.26.0:format`) and commit before running validation!

- Allow userinfo without password
- Validate hostname is present

Also-by: Thomas Wolf <twolf@apache.org>
@tomaswolf
Copy link
Copy Markdown
Member

I've rebased and sightly simplified this.

@tomaswolf tomaswolf merged commit 3a04770 into apache:master Jul 20, 2025
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants