Uploaded image for project: 'MINA SSHD'
  1. MINA SSHD
  2. SSHD-1286

how to disable the SSH login and allow only SCP and SFTP

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Duplicate
    • None
    • None
    • None

    Description

      how do I disable the SSH login and allow only SFTP and SCP calls to Server ?

      i.e allowing below two commands only

      sftp -P 1234 user@hostname

      scp -P 1234 test1.txt user@hostname

      but don't allow the following command exeuction

      ssh -p 1234 user@hostname

      or SSH login from Putty others

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              sreedharj Sreedhar J
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: