• Post Reply Bookmark Topic Watch Topic
  • New Topic

What is sshj and Jsch ?  RSS feed

 
Zohr Ridhan
Ranch Hand
Posts: 55
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am trying to run a war file which behaves differently on the two machine that I have. On windows machine, when I run locally it asks for some sort of license and on linux machine it asks for password and redirects and stops to a blank page. Seeing server log I found out that windows machine is unable to assign sshj port. What should I do go around these problems? Any idea why the application freezes to a blank page after entering password? The application that I am trying to build is jenkins. They have recently added some security features.



 
K. Tsang
Bartender
Posts: 3632
16
Firefox Browser Java Mac OS X
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Both of these software (SSHJ and JSCH) are NOT web service libraries but file transfer (file copy, FTP etc).

Using FTP as example, you need to specify which server/destination to go to, using which port to connect (eg 21 for FTP and 22 for SFTP) and lastly user/password for logging in to that server

So what you are experiencing is that those libraries are not set up properly or if so, upon entering user/pw the connection timed out hence show blank page.

 
Zohr Ridhan
Ranch Hand
Posts: 55
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thank you very much for you answer. How can I setup those libraries properly?
 
K. Tsang
Bartender
Posts: 3632
16
Firefox Browser Java Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Have you look through the docs that comes with those libraries? Possibly some code samples will give you idea.
 
Zohr Ridhan
Ranch Hand
Posts: 55
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Not yet, I am looking now.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!