• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

What is sshj and Jsch ?

 
Ranch Hand
Posts: 55
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.



 
Bartender
Posts: 3648
16
Android Mac OS X Firefox Browser Java
  • Likes 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thank you very much for you answer. How can I setup those libraries properly?
 
K. Tsang
Bartender
Posts: 3648
16
Android Mac OS X Firefox Browser Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Not yet, I am looking now.
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic