Quantcast
Channel: B2B Integration with SAP Process Orchestration
Viewing all articles
Browse latest Browse all 105

SFTP Adapter - Installing SFTP Server on Windows - Part 02

$
0
0

This is the second post in the series "SFTP Adapter - Installing SFTP Server on Windows".  If you have not read the previous post, you can refer the below link.

http://scn.sap.com/community/b2b-integration/blog/2012/08/10/installing-sftp-server-on-windows--part-01

 

This post describes steps for auto configuring, starting the SSH service and testing using SSH & SFTP Clients.

 

  • Open the "Cygwin Terminal" from the start menu

17. open cygwin terminal.PNG

 

  • It will automatically create all the files which is required for user profile (Similar to Linux/Unix)

18. setup the profile.PNG

 

  • To configure the SSH Service (where SFTP Server runs) automatically, execute the following command

    $ ssh-host-config

    19. ssh host config.PNG

  • It will automatically creates all the keys & certificates required for the SSH Service/SFTP Server
  • After that it will try to install the SSH Service/SFTP Server as a windows service
  • Answer "Yes" for all the question except the last query mentioned in the below snippet
  • For the question "Do you want to use a different name? (yes/no)", Answer "No"

 

  20. answer yes for all questions.PNG

  • Answer "Yes" for the next question to create the username and provide the password for the same user to be created
  • It will complete all the required  steps to configure the SSH Service/SFTP Server

21. create a new cyg user.PNG

 

  • Next, the SSH Service/SFTP Server should be started manually by executing the following command

    $ cygrunsrv.exe -S sshd &

      22. start the ssh server.PNG

  • The SSH access can be tested by executing the following SSH Client command

    $ ssh admin@localhost

  • Accept the finger print and provide the password for the user 'admin' (or any OS user)

23. Login to test.PNG

 

  • The "pwd" command (present working directory) can be used to find the location of home directory. By default it would be "C:\cygwin\home\admin"

24. pwd.PNG

24a. home location.PNG

 

  • The SFTP access can be tested by using any of third party SFTP supported clients like FileZilla. The default port for SSH Service & SFTP Server is 22

24b. filezilla entry.PNG

  • Click "Quick Connect" and accept the finger print

24c. accpet the finger print.PNG

  • It will successfully connect to the SFTP Server.

24d. connected.PNG

It is verified that SFTP Server is installed properly and up & running. Now, it can be used with SFTP Adapter for file transfers.

 

 

The next post in this series covers the steps to configure and test the SFTP Adapter using the locally installed SFTP Server.


Viewing all articles
Browse latest Browse all 105

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>