Since version v1.0.2 of the FTP plugin, when connecting to the same SFTP server with different usernames, only the first username is used.
Steps to reproduce:
Connecting to a server as one user and save a file to a location accessible only to that user.
Connect to the same server as another user and attempt to save a file to the same location.
Expected results:
The save should fail with a "Permission denied" error.
Actual results:
The save succeeds, with the file saved as the initial user.
After reverting to v1.0.1, the correct user is used.
jEdit 5.1.0 (and earlier versions), OS X 10.10 (and earlier versions), Java 1.6.0
And in case it's relevant, I'm using key-based authentication with "Save Password" enabled (which in this case just means that it's remembering the key file being used).