2

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
  • 188,800
  • 56
  • 490
  • 992
user518066
  • 1,277
  • 3
  • 23
  • 35
  • 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

3

No,JSch is a pure Java implementation of SSH2.

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

Fran Montero
  • 1,679
  • 12
  • 24