Prosíme přihlašte se nebo zaregistrujte.

Přihlašte se svým uživatelským jménem a heslem.
Vaše pomoc je stále potřeba!

Autor Téma: "Message Of The Day" daemon (motd)  (Přečteno 3879 krát)

vecino

  • Návštěvník
  • Příspěvků: 35
Re:"Message Of The Day" daemon (motd)
« Odpověď #25 kdy: 30 Června 2019, 17:33:19 »
Kluci tak problém vyřešen. ANO JSEM KO*OT a nebojím se to přiznat ... nemám problém se sebereflexí.

Jelikož mám na serveru veřejnou IP a klepalo mi na ssh každou minutu cca 5 robotů, tak jsem si nastavil na sshd login jen přes publickey a přes iptables nastavil nějaký časový pravidla apod.

No a teď čím jsem si vyřadil ten MOTD.

V konfiguráku /etc/ssh/sshd_config je položka UsePAM, kde jsem měl no když tak je yes tak je to ok:

Kód: [Vybrat]
# Set this to 'yes' to enable PAM authentication, account processing,
# and session processing. If this is enabled, PAM authentication will
# be allowed through the ChallengeResponseAuthentication and
# PasswordAuthentication.  Depending on your PAM configuration,
# PAM authentication via ChallengeResponseAuthentication may bypass
# the setting of "PermitRootLogin without-password".
# If you just want the PAM account and session checks to run without
# PAM authentication, then enable this but set PasswordAuthentication
# and ChallengeResponseAuthentication to 'no'.
UsePAM yes

!!! Moc vám děkuji za váš čas a snahu pomoci. Jsem rád, že tady je tato komunita a vyzkoušel jsem si, že funguje. !!!

Díky

 ;) :)

 

Provoz zaštiťuje spolek OpenAlt.