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

Add configurable support for ScpShell usage

    XMLWordPrintableJSON

Details

    • Question
    • Status: Closed
    • Major
    • Resolution: Information Provided
    • None
    • None
    • None

    Description

      Hi Team, 

      We have implemented sftp server where we are giving SFTP and SCP both support. 

      Both are working fine if we connected via winscp or any terminal client like putty etc.

       

      But if we use ssh command ssh <userName>@localhost -p <port>

      then it goes to interactive mode and exposes the current program running directory to do all operations(screenshot shows dir command) (sftp is showing correct directory as C:/ ) 

       

       

      So just wanted to check if can we just disable the above ssh command and still we can use scp and sftp? any help appreciated. 

      May be this fix is causing the problem? : https://issues.apache.org/jira/browse/SSHD-1009,

      I have attached the sample code.

       

      Attachments

        1. image-2022-07-28-17-25-36-368.png
          60 kB
          Sandeep
        2. SFTP.zip
          74 kB
          Sandeep

        Issue Links

          Activity

            People

              lgoldstein Lyor Goldstein
              ssmali1505 Sandeep
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 10m
                  10m