Build failure of developer branch
Trying to see if dev build will resolve "no suitable authentication" exception.
Getting the errors in the attachment. VS2015.

The specific issue I am trying to resolve is the exception "No suitable authentication method found to complete authentication". The server is Firefox SFTP - not under my control. Any idea what I could use to make this work?
Connect code is:
using (var client = new SftpClient(ServerName, Convert.ToInt32(Port), UserID, Password))
{
client.Connect();
// client.BufferSize = 4 * 1024;
using (Stream file1 = File.OpenWrite(ClientFileName))
{
client.DownloadFile(ServerFileName, file1);
}
}
Could it uses keyboard interactive, do not see any code for handling the event in your snippet
Sent from my iPhone
On Mar 17, 2017, at 1:37 PM, imapangolin [email protected] wrote:
The specific issue I am trying to resolve is the exception "No suitable authentication method found to complete authentication". The server is Firefox SFTP - not under my control. Any idea what I could use to make this work?
Connect code is:
using (var client = new SftpClient(ServerName, Convert.ToInt32(Port), UserID, Password)) { client.Connect(); // client.BufferSize = 4 * 1024; using (Stream file1 = File.OpenWrite(ClientFileName)) { client.DownloadFile(ServerFileName, file1); } }— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or mute the thread.
What’s keyboard interactive?
On Mar 17, 2017, at 2:22 PM, Carlos Perez [email protected] wrote:
Could it uses keyboard interactive, do not see any code for handling the event in your snippet
Sent from my iPhone
On Mar 17, 2017, at 1:37 PM, imapangolin [email protected] wrote:
The specific issue I am trying to resolve is the exception "No suitable authentication method found to complete authentication". The server is Firefox SFTP - not under my control. Any idea what I could use to make this work?
Connect code is:
using (var client = new SftpClient(ServerName, Convert.ToInt32(Port), UserID, Password)) { client.Connect();
// client.BufferSize = 4 * 1024; using (Stream file1 = File.OpenWrite(ClientFileName)) { client.DownloadFile(ServerFileName, file1); } } — You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or mute the thread.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/sshnet/SSH.NET/issues/198#issuecomment-287433834, or mute the thread https://github.com/notifications/unsubscribe-auth/ADQXsV02-oFI0skDw2AfUSNaPkh-r3Msks5rms9ygaJpZM4Mgr1N.
I do doubt this - as this is for an unattended process.
On Mar 17, 2017, at 2:22 PM, Carlos Perez [email protected] wrote:
Could it uses keyboard interactive, do not see any code for handling the event in your snippet
Sent from my iPhone
On Mar 17, 2017, at 1:37 PM, imapangolin [email protected] wrote:
The specific issue I am trying to resolve is the exception "No suitable authentication method found to complete authentication". The server is Firefox SFTP - not under my control. Any idea what I could use to make this work?
Connect code is:
using (var client = new SftpClient(ServerName, Convert.ToInt32(Port), UserID, Password)) { client.Connect();
// client.BufferSize = 4 * 1024; using (Stream file1 = File.OpenWrite(ClientFileName)) { client.DownloadFile(ServerFileName, file1); } } — You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or mute the thread.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/sshnet/SSH.NET/issues/198#issuecomment-287433834, or mute the thread https://github.com/notifications/unsubscribe-auth/ADQXsV02-oFI0skDw2AfUSNaPkh-r3Msks5rms9ygaJpZM4Mgr1N.
It is an auth method where credentials are handled by a PAM on the host. I got the same error when that method is enabled on the server. You can see how I handle that auth method in Posh-SSH https://github.com/darkoperator/Posh-SSH/blob/master/PoshSSH/PoshSSH/NewSessionBase.cs
Sent from my iPhone
On Mar 17, 2017, at 2:59 PM, imapangolin [email protected] wrote:
I do doubt this - as this is for an unattended process.
On Mar 17, 2017, at 2:22 PM, Carlos Perez [email protected] wrote:
Could it uses keyboard interactive, do not see any code for handling the event in your snippet
Sent from my iPhone
On Mar 17, 2017, at 1:37 PM, imapangolin [email protected] wrote:
The specific issue I am trying to resolve is the exception "No suitable authentication method found to complete authentication". The server is Firefox SFTP - not under my control. Any idea what I could use to make this work?
Connect code is:
using (var client = new SftpClient(ServerName, Convert.ToInt32(Port), UserID, Password)) { client.Connect();
// client.BufferSize = 4 * 1024; using (Stream file1 = File.OpenWrite(ClientFileName)) { client.DownloadFile(ServerFileName, file1); } } — You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or mute the thread.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/sshnet/SSH.NET/issues/198#issuecomment-287433834, or mute the thread https://github.com/notifications/unsubscribe-auth/ADQXsV02-oFI0skDw2AfUSNaPkh-r3Msks5rms9ygaJpZM4Mgr1N.
— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or mute the thread.
It is an auth method on the server it does not affect if you are doing it interactively or unattended
Sent from my iPhone
On Mar 17, 2017, at 2:59 PM, imapangolin [email protected] wrote:
I do doubt this - as this is for an unattended process.
On Mar 17, 2017, at 2:22 PM, Carlos Perez [email protected] wrote:
Could it uses keyboard interactive, do not see any code for handling the event in your snippet
Sent from my iPhone
On Mar 17, 2017, at 1:37 PM, imapangolin [email protected] wrote:
The specific issue I am trying to resolve is the exception "No suitable authentication method found to complete authentication". The server is Firefox SFTP - not under my control. Any idea what I could use to make this work?
Connect code is:
using (var client = new SftpClient(ServerName, Convert.ToInt32(Port), UserID, Password)) { client.Connect();
// client.BufferSize = 4 * 1024; using (Stream file1 = File.OpenWrite(ClientFileName)) { client.DownloadFile(ServerFileName, file1); } } — You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or mute the thread.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/sshnet/SSH.NET/issues/198#issuecomment-287433834, or mute the thread https://github.com/notifications/unsubscribe-auth/ADQXsV02-oFI0skDw2AfUSNaPkh-r3Msks5rms9ygaJpZM4Mgr1N.
— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or mute the thread.
I clearly didn’t know what I was talking about as far as the keyboard interactive. Coding for that does indeed cure my connection problem and I thank you.
The issue of the developer build failing, however, does remain.
Thanks again
On Mar 17, 2017, at 2:22 PM, Carlos Perez [email protected] wrote:
Could it uses keyboard interactive, do not see any code for handling the event in your snippet
Sent from my iPhone
On Mar 17, 2017, at 1:37 PM, imapangolin [email protected] wrote:
The specific issue I am trying to resolve is the exception "No suitable authentication method found to complete authentication". The server is Firefox SFTP - not under my control. Any idea what I could use to make this work?
Connect code is:
using (var client = new SftpClient(ServerName, Convert.ToInt32(Port), UserID, Password)) { client.Connect();
// client.BufferSize = 4 * 1024; using (Stream file1 = File.OpenWrite(ClientFileName)) { client.DownloadFile(ServerFileName, file1); } } — You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or mute the thread.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/sshnet/SSH.NET/issues/198#issuecomment-287433834, or mute the thread https://github.com/notifications/unsubscribe-auth/ADQXsV02-oFI0skDw2AfUSNaPkh-r3Msks5rms9ygaJpZM4Mgr1N.
No clue on the build, I tend to stick with release versions. Happy it helped
Sent from my iPhone
On Mar 17, 2017, at 3:28 PM, imapangolin [email protected] wrote:
I clearly didn’t know what I was talking about as far as the keyboard interactive. Coding for that does indeed cure my connection problem and I thank you.
The issue of the developer build failing, however, does remain.
Thanks again
On Mar 17, 2017, at 2:22 PM, Carlos Perez [email protected] wrote:
Could it uses keyboard interactive, do not see any code for handling the event in your snippet
Sent from my iPhone
On Mar 17, 2017, at 1:37 PM, imapangolin [email protected] wrote:
The specific issue I am trying to resolve is the exception "No suitable authentication method found to complete authentication". The server is Firefox SFTP - not under my control. Any idea what I could use to make this work?
Connect code is:
using (var client = new SftpClient(ServerName, Convert.ToInt32(Port), UserID, Password)) { client.Connect();
// client.BufferSize = 4 * 1024; using (Stream file1 = File.OpenWrite(ClientFileName)) { client.DownloadFile(ServerFileName, file1); } } — You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or mute the thread.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/sshnet/SSH.NET/issues/198#issuecomment-287433834, or mute the thread https://github.com/notifications/unsubscribe-auth/ADQXsV02-oFI0skDw2AfUSNaPkh-r3Msks5rms9ygaJpZM4Mgr1N.
— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or mute the thread.
The build failure is due to recent changes by @olegkap, which we will probably (at least temporarily) revert.
Thanks - can you let me know please when the dev build is buildable?
On Mar 18, 2017, at 12:26 PM, Gert Driesen [email protected] wrote:
The build failure is due to recent changes by @olegkap https://github.com/olegkap, which we will probably (at least temporarily) revert.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/sshnet/SSH.NET/issues/198#issuecomment-287557101, or mute the thread https://github.com/notifications/unsubscribe-auth/ADQXsUhxiPQlqA6K9UQVj02A9rHGAytvks5rnAW2gaJpZM4Mgr1N.
Build is now fixed.