• 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 ...
Marshals:
  • Liutauras Vilda
  • Campbell Ritchie
  • Tim Cooke
  • Bear Bibeault
  • Devaka Cooray
Sheriffs:
  • Jeanne Boyarsky
  • Knute Snortum
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Ganesh Patekar
  • Stephan van Hulst
  • Pete Letkeman
  • Carey Brown
Bartenders:
  • Tim Holloway
  • Ron McLeod
  • Vijitha Kumara

Implementing SSH for file upload  RSS feed

 
Ranch Hand
Posts: 231
  • Mark post as helpful
  • send pies
  • 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: 42975
76
  • Mark post as helpful
  • send pies
  • 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
  • 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.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!