View Source NervesSSH.UserPasswords (nerves_ssh v0.3.0)

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(user, password, ip, attempt)

View Source

Specs

check(
  :erlang.string(),
  :erlang.string(),
  :ssh.ip_port(),
  :undefined | non_neg_integer()
) ::
  boolean() | :disconnect | {boolean(), non_neg_integer()}