Welcome to the Inedo Forums! Check out the Forums Guide for help getting started.

If you are experiencing any issues with the forum software, please visit the Contact Form on our website and let us know!

Can't add linux server to the server pool in buildmaster



  • This is the error I keep getting.
    I know the password and user is correct but I keep seeing this error.

    Inedo.BuildMaster.Extensibility.Agents.Ssh.SshAgentException: Authentication failed (username/password) (SSH error -18: AUTHENTICATION_FAILED) ---> Inedo.Ssh.SshException: Authentication failed (username/password)
    at Inedo.Ssh.Libssh2.Libssh2Session.HandleError(Int32 res, IntPtr sftp)
    at Inedo.Ssh.Libssh2.Libssh2Session.<WithSocketAsync>d__211.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Inedo.Ssh.Libssh2.Libssh2Session.<ValidateCredentialsAsync>d__16.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Inedo.Ssh.Libssh2.Libssh2Session.<ConnectAsync>d__11.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Inedo.BuildMaster.Extensibility.Agents.Ssh.SshConnectionPool.<ConnectAsync>d__6.MoveNext() --- End of inner exception stack trace --- at Inedo.BuildMaster.Extensibility.Agents.Ssh.SshConnectionPool.<ConnectAsync>d__6.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Inedo.BuildMaster.Extensibility.Agents.Ssh.SshAgent.<RunAsync>d__141.MoveNext()
    --- End of stack trace from previous location where exception was thrown ---
    at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
    at Inedo.BuildMaster.Extensibility.Agents.Ssh.SshAgent.<RunIOCommandAsync>d__66.MoveNext()
    --- End of stack trace from previous location where exception was thrown ---
    at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
    at Inedo.BuildMaster.Windows.ServiceApplication.ServerCheckerRunner.<CheckSshAgentAsync>d__9.MoveNext()

    On the server that I am making the connection-- buildmaster server -- I have used putty and was able to connect.

    Product: BuildMaster
    Version: 6.1.1



  • That error is coming from the SSH library that BuildMaster uses to connect, and offhand I don't know the causes (aside from obvious). One possibility is that username/password isn't enough, and you need to send a certificate. Putty may already be configured to do this.

    But can you enable SSH logging on your Linux box? This way, you can see the problems of incoming connections and we can further help from there.


Log in to reply
 

Inedo Website HomeSupport HomeCode of ConductForums GuideDocumentation