SSH2 support!

2005-01-26
2013-04-15
  • Atsuhiko Yamanaka

    Hi there,

    We are developing pure Java ssh2 implementation for J2ME/MIDP at http://j2me.jsch.org/ .
    Today, we try to apply our hack to J2MEVNC
    and, after a few hour hacks, at last, it worked at least on Sun's Wireless Toolkit emulator!

    Here is a patch for CVS source tree,
      http://j2me.jsch.org/j2mevnc.patch

    If you are interested in compiling it by your self, you need following files,
      http://j2me.jsch.org/jsch-0.1.17-J2MEMIDP20-20050126.zip
      http://www.bouncycastle.org/download/lcrypto-j2me-126.zip
    and, then jar file must be obfuscated.

    For your conveniences, here are jar and jad files,
      http://j2me.jsch.org/VNC.jar
      http://j2me.jsch.org/VNC.jad

    After launching this midlet, you'll find newly added
    a checkbox for 'ssh2' and two textfields for
    'ssh2usr' and 'ssh2password'.
    If you check it and fill every fields and choose 'connect', SSH2 session will be established and this midlet will plug I/O streams to
    TCP port '127.0.0.1:590X' on remote host.

    Every suggestions, comments and requests, etc., are welcom at jsch-j2me@lists.sourceforge.net.

    Thanks,
    --
    ymnk

     
    • Micheal Lloyd Lee

      Ohh, wow that is fantastic.

      Thank you very much.

       
    • Atsuhiko Yamanaka

      Hi there,

      I have improved the code to connect to VNC server, which is not running on ssh server.

      If you are interested in it, please refer to
      http://sourceforge.net/mailarchive/forum.php?thread_id=6543703&forum_id=43683

       
    • Nobody/Anonymous

      So where do I get a download of the VNC client for my Blackberry 7510 that uses ssh to tunnel the connection between the BB client and the server?  I have to ssh tunnel a vnc port from my workstation to the gateway firewall, which I already do to support vnc on a roving laptop.  I want to be able to access the same vnc port from my blackberry as well, but I need ssh2 support.  So in addition to the name of the machine to connect to, and the vnc password, I also need to specify the ssh password and the ssh port.  Where do I get a download for a blackberry 7510 that will do this?  Thanks!  Please, if you could, send email to rj@elilabs.com, as I do not check this forum frequently enough.

       
    • Nobody/Anonymous

      Followup to above post.  I am already using Idokorro ssh client for blackberry, but it doesn't seem to support port remapping.  :-(

       
    • jebler

      jebler - 2006-01-16

      I'm still learning j2me and haven't had nuch sucess yet, and I feel dumb asking this becasue it can't be hard, but! Can the username field be extended, and can a port number be allowed with the ssh server?

       
    • Alex Stumpf

      Alex Stumpf - 2006-09-20

      Hi Atsuhiko! (or is it "Hi Yamanaka!" ? :-) )

      Thanks for this interesting improvement to J2ME-VNC!

      I looked at the patch and saw that the connection is basically tunneled by just using the SSH2StreamConnection class. However, I did not see the class inside the patch nor inside the jsch-0.1.17-J2MEMIDP20-20050224.zip or lcrypto-j2me-126.zip libraries.
      Am I missing something in the big picture? 'cause I'd like to compile and test the client for myself as the ssh-version you provide on the jsch homepage wouldn't start on my device (K750i).

      Regards,
      Alex

       
    • dachande

      dachande - 2008-11-13

      this is exactly what I've been looking for because my pc is behind a firewall and needs a ssh tunnel to access vnc.

      thank you so much

       
  • shiva305

    shiva305 - 2010-03-30

    please tell me the procedure how to execute this project set up set.

     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks