Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    [Resolvido] BANNER SSH

    Scheduled Pinned Locked Moved Portuguese
    3 Posts 2 Posters 1.0k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • W Offline
      willian2501
      last edited by

      Boa tarde, estou tentando colocar um banner na tela inicial do ssh, para quando a pessoa bater o ip do pf via ssh, ele vai aparecer uma mensagem personalizada.

      Problema é que para tal função, precisa acrescentar o comando BANNER /etc/issue.net no arquivo sshd_config e toda vez que o pfsense reinicia, esse arquivo volta ao padrao, apagando essa linha

      Sera que tem como ele reiniciar sem voltar ao padrao o arquivo sshd_config ?

      Obrigado

      1 Reply Last reply Reply Quote 0
      • marcellocM Offline
        marcelloc
        last edited by

        Já tentou usar o pacote SSHDCond?

        Treinamentos de Elite: http://sys-squad.com

        Help a community developer! ;D

        1 Reply Last reply Reply Quote 0
        • W Offline
          willian2501
          last edited by

          Realmente com SSHDCOND funcionou.. obrigado

          1 Reply Last reply Reply Quote 0
          • First post
            Last post
          Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.