ago1024 commented on issue #516: URL: https://github.com/apache/mina-sshd/issues/516#issuecomment-2996910198
`SftpFileSystemProvider.newFileSystem(uri, env)` uses `parseCredentials(uri)` to extract the username and password (if present) and generates the file system id from the credentials. `SftpFileSystemProvider.getFileSystem(uri)` uses `getFileSystemIdentifier(uri)` to directly create the file system id. This method fails if the password is not present in the uri. https://github.com/apache/mina-sshd/blob/f0608d7b3a0de703e409d0c90d9d3370b805e089/sshd-sftp/src/main/java/org/apache/sshd/sftp/client/fs/SftpFileSystemProvider.java#L1504 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: dev-unsubscr...@mina.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@mina.apache.org For additional commands, e-mail: dev-h...@mina.apache.org