Re: Username not Working with Session Options when SSH Private Key Auth Utilized
Please post your code and corresponding session log file (
Session.SessionLogPath
).
Before posting, please read how to report bug or request support effectively.
Bug reports without an attached log file are usually useless.
Session.SessionLogPath
).
sftp://user:**@sftp.blah.com:22
SshPrivateKeyPath
, it does NOT utilize the username and instead attempts to prompt for it, even if the username is specified in the SessionOptions
properties.
...
Username: (Password: NO, Key file: Yes, Passphrase: Yes)
..
Reading key file"blah.ppk"
Prompt (username, "SSH login name", <no instructions>, "login as:"
Prompting user for credentials.
Prompt cancelled.
User aborted at username prompt
Attempt to close connection due to fatal exception:
**Credentials were not specified**