• 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 all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Bear Bibeault
  • Devaka Cooray
  • Liutauras Vilda
  • Jeanne Boyarsky
  • Knute Snortum
  • Junilu Lacar
  • paul wheaton
Saloon Keepers:
  • Ganesh Patekar
  • Frits Walraven
  • Tim Moores
  • Ron McLeod
  • Carey Brown
  • Stephan van Hulst
  • salvin francis
  • Tim Holloway

ssh requirements help  RSS feed

Ranch Hand
Posts: 49
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello all,

How you doing i need help regarding using ssh, sftp.

I have tried using sshxcute open source project, ran into issues not sure if other open source projects works the same way.

Below is My requirement : I need to these task on linux box from windows)

1. Navigating directories on remote box
2. Executing commands
3. uploading files to remote box
5. download files from remote box
6. wait the process until it completes execution of shell script and pull the log files

Issues i have faced with sshxcute are

Is there any interactive ssh tools like how we do in putty. is there any industry standard APIs are existed to use.

Appreciated all your inputs
Posts: 42974
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Are you facing a problem with this code? You should check the Result objects for success/failure and act on those accordingly.

One thing I noticed is that line 5 seems to be missing a leading slash - just a copy/paste error?

There is no standard API for this. JSch is a common library to use, and I see this library uses JSch underneath.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!