This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
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


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
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?
 
Similar Threads
telnet tls
TelnetClient to login to a unix box from another unix box via java code
how to connect router using java application
SSH and Telnet opensource api's
Implementing SSH for file upload