SSH CONFIGURATION

Поділитися
Вставка
  • Опубліковано 20 гру 2024

КОМЕНТАРІ •

  • @emmanueloluwayemisi
    @emmanueloluwayemisi 4 роки тому

    when a change ssh port to something else i.e ip ssh port 1040, it just asked me to kill all ssh connection and try login again but then it still use port 22.
    please what is the way out

    • @TerryHenry
      @TerryHenry  4 роки тому

      yeah... bit of a pain, it will not let you because you are on an SSH session already. Either go to console or enable "telnet server" and telnet in. then do "kill ssh all" and change your ssh port. Don't forget to "no telnet server" when you are done and write memory of course.

  • @nbctcp3450
    @nbctcp3450 4 роки тому

    Could u gimme steps to
    1. password less ssh using key
    2. restrict ssh only from certain subnet or ip address
    3. create a cron job

  • @nurspass
    @nurspass 4 роки тому

    is there any way to kill ssh connection?

    • @TerryHenry
      @TerryHenry  4 роки тому

      Yup, "show who" will show you the sessions and then "kill ssh 1" or whatever session number.

  • @toddmiller6184
    @toddmiller6184 4 роки тому

    thanks!