Introduction

For testing our solution we need to have a SSH Server, you can accomplish this by using BitVise SSH Server. BitVise SSH Server is an SSH server designed for all Windows NT-series operating systems. It supported platforms include all desktop and server versions of Windows, starting from Windows 2000, to the most recent, including Windows 8 and 2012. Both 32-bit and 64-bit versions of Windows are supported

Create a test environment for SFTP

For installing BitVise SSH Server you need to:
  • Download BitVise SSH Server from Link
  • Install BitVise SSH Server with recommended settings.
  • Now create SFTP Location and assign user to access files from location
  • Go to All programs -> Bitvise SSH Server -> Bitvise SSH Server Control Panel.

  • Click on Open easy settings and click on virtual account Tab.
  • Create TestUser, assign root directory or location to user.
  • Now for assign public key to user, we need to generate public key and private key.
  • Go to Bitvise SSH Server control panel -> Manage Host
  • Key Generate Key and export public key and Key Pair user authentication.

  • Export entire keypair and add passphrase.

  •  Assign generated public key to testuser by importing public key.

Blogical BizTalk Sftp Adapter for BizTalk Server 2010

This is a free community adapter that was developed for those  who needed to transfer files independent from any choice of platform.

Features:

  • Receive port load balancing.
  • Scheduled polling interval.
  • Notify on "Empty Batch" message - the adapter will submit an error message if the receive endpoint didn’t pick up any files. This property is disabled by default.
  • Public key authentication - (RSA, DSA).
  • SFTP connection pooling.
  • Host throttling - restrict number of open connections to any SFTP host.

This adapter can be download from CodePlex: http://sftpadapter.codeplex.com/  and install on BizTalk Server.

How to create send port

Create an one-way send port and:

  • Set send location properties:

  • SSH Identityfile : key pair generated from  bitvise SSH Server .
  • SSH Identityfile Passphrase: passphrase of key pair
  • SSH Host: SFTP server address
  • SSH User: User for SFTP Server

See Also

Another important place to find an extensive amount of BizTalk related articles is the TechNet Wiki itself. The best entry point is BizTalk Server Resources on the TechNet Wiki.