• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

SSH protocol?

 
anup khandelwal
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 22
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Sorry its not SSH its SSL...
 
Hung Tang
Ranch Hand
Posts: 148
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 110
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Have a look at the SSLSocket class.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic