1

I am using JSch to transfer a file to a remote server. I have configured it to use sftp channel with user/password and StrictHostKeyChecking set to 'no'. Since I have open channel set to sftp, does JSch require sftp/ssh client to be installed on the client machine?

Martin Prikryl
  • 167,268
  • 50
  • 405
  • 846
user518066
  • 1,103
  • 3
  • 19
  • 25
  • No. it implementation of SSH. – Kovacic Jun 15 '18 at 08:39
  • Obligatory warning: Do not set `StrictHostKeyChecking=no` - you are losing security by doing so. See [How to resolve Java UnknownHostKey, while using JSch SFTP library?](https://stackoverflow.com/q/32852906/850848) – Martin Prikryl Jun 15 '18 at 08:50

1 Answers1

2

No,JSch is a pure Java implementation of SSH2.

http://www.jcraft.com/jsch/

Fran Montero
  • 1,601
  • 11
  • 23