title: Connecting to AS400 server from java code through SFTP
body: <p>I am trying to write a <code>java</code> code which will connect to a AS400 server through <code>SFTP</code> and transfer files.
  I am using Jsch for <code>SFTP</code>. I have entered user_name, password and host-url to connect.</p>
  
  <p>But I discovered that AS400 server is refusing connection. Is there any setting I need  while connecting or any setting for privileges on AS400 ?</p>
  
  <p>Please suggest a way to use SFTP to connect to AS400.</p>