View Source NervesSSH.UserPasswords (nerves_ssh v0.4.2)

Default module used for checking User/Password combinations

This will allow 3 attempts to login with a username and password and then send SSH_MSG_DISCONNECT

Link to this section Summary

Link to this section Functions

Link to this function

check(name, user, password, ip, attempt)

View Source
@spec check(
  name :: any(),
  :erlang.string(),
  :erlang.string(),
  :ssh.ip_port(),
  :undefined | non_neg_integer()
) :: boolean() | :disconnect | {boolean(), non_neg_integer()}