File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Sockets and Internet Protocols and the fly likes  SSH protocol? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Sockets and Internet Protocols
Bookmark " SSH protocol?" Watch " SSH protocol?" New topic
Author

SSH protocol?

anup khandelwal
Greenhorn

Joined: Jan 29, 2007
Posts: 5
hi,
Can any one show me how to implement client-server connection using socket and SSH protocol.The client is java(Swing).And i want to implement JSSE in my program.

Thanking You
Anup Khandelwal
Sushil Sharma
Greenhorn

Joined: Nov 02, 2006
Posts: 22
From your email it is not clear whether you already have a ssh client.

ssh protocol is complicated. It requires generation of keys and use of SSL. You can either implement ssh client protocol and use SSL sockets; or get an open source implementation of ssh.
anup khandelwal
Greenhorn

Joined: Jan 29, 2007
Posts: 5
Sorry its not SSH its SSL...
Hung Tang
Ranch Hand

Joined: Feb 14, 2002
Posts: 148
Originally posted by Sushil Sharma:
ssh protocol is complicated. It requires generation of keys and use of SSL. [/QB]

I think we should be more careful with this statement in that SSH implementation depends on SSL, which isn't true. However, the implementation of SSH can certainly share some of the encryption tools/libs that are used in SSL
Van Glass
Ranch Hand

Joined: Nov 18, 2000
Posts: 110
Have a look at the SSLSocket class.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: SSH protocol?