• 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

Implementing SSH for file upload

 
Ranch Hand
Posts: 231
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi All,
I am working on a application which uploads files to the server. I use apache file upload API for this functionality. Now we would like to make this file transfer secure by implementing SSH. Could someone please throw some light on how to implement SSH in the server and client side. If any article is available on the net which explains step by step process to implement SSH on the client and server side please provide the link .

My client is a Windows XP machine and the server is a Linux box. Also please suggest API for the same

Any help on this is very much Appreciate.

Regards,
Sivaraman.L
 
Rancher
Posts: 43081
77
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
The common file transfer mechanism over SSH is FTP, in the shape of SFTP. If you want to secure HTTP uploads, use HTTPS.
 
Sivaraman Lakshmanan
Ranch Hand
Posts: 231
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi All,
We want to implement SSH2 for doing a FTP so could someone suggest a free API for doing the same. I tried JSCH but any other options are welcome. Moreover how should I create the private and public key for the same can I use java.security.KeyPairGenerator with DSA algorithm. Please advice. I tried creating key pairs using putty key gen utility but it used AES algorithm which when used in JSCH I got a error saying invalid private key.
 
eat bricks! HA! And here's another one! And a tiny ad!
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic