Solved

RMI SSH Tunnel?

Posted on 2002-03-19
8
383 Views
Last Modified: 2012-08-13
I've been working with Java for several years, however have just recently started reading up on EJB, RMI...etc.

Anyway, I'm needing to write a distributed application however I am greately restricted by a firewall and a few ACL's.  As of now, port 22 is open from all my hosts for SSH.

Is there anyway to pipe RMI over SSH?

Like I said, I'm new to RMI...really new.  Even if there are some documents I could read over, that would be a great help as well.
0
Comment
Question by:ShaunMarion
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
  • 2
  • +2
8 Comments
 
LVL 9

Expert Comment

by:Venci75
ID: 6880138
.
0
 
LVL 86

Expert Comment

by:CEHJ
ID: 6880731
Can't you get them to reconfigure the firewall?
0
VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

 

Author Comment

by:ShaunMarion
ID: 6882440
CEHJ:
Yes, I could easily get them to reconfigure the firewall, but the more holes I open for this and various other projects, the more the firewall starts to look more like swiss cheese...which I'm trying to avoid.  If in the end, it has to be done, well then it has to be done, but I'm tyring to make sure I have looked at all my options before-hand.
0
 
LVL 86

Accepted Solution

by:
CEHJ earned 100 total points
ID: 6882457
OK - a very 'from-the-hip' suggestion: why not try to rewrite the RMI stubs so that they encrypt/decrypt the data in Base64, sending it over the wire on SSH TCP/IP?
0
 
LVL 2

Expert Comment

by:s_lavie
ID: 6882460
You may also try the JAX-RPC, which is a new technology (not bug-safe), that runs over SOAP - you'll only have to open port 80 for http.
http://java.sun.com/xml/downloads/jaxrpc.html
0
 
LVL 9

Expert Comment

by:Venci75
ID: 7901252
No comment has been added lately, so it's time to clean up this TA.
I will leave a recommendation in the Cleanup topic area that this question is:
Answered by: CEHJ
Please leave any comments here within the next seven days.
 
PLEASE DO NOT ACCEPT THIS COMMENT AS AN ANSWER!
 
Venci75
EE Cleanup Volunteer
0
 
LVL 5

Expert Comment

by:Netminder
ID: 7962570
Per recommendation, force-accepted.

Netminder
EE Admin
0

Featured Post

Optimize your web performance

What's in the eBook?
- Full list of reasons for poor performance
- Ultimate measures to speed things up
- Primary web monitoring types
- KPIs you should be monitoring in order to increase your ROI

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This was posted to the Netbeans forum a Feb, 2010 and I also sent it to Verisign. Who didn't help much in my struggles to get my application signed. ------------------------- Start The idea here is to target your cell phones with the correct…
Introduction This article is the last of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article covers our test design approach and then goes through a simple test case example, how …
Viewers learn about the “for” loop and how it works in Java. By comparing it to the while loop learned before, viewers can make the transition easily. You will learn about the formatting of the for loop as we write a program that prints even numbers…
Viewers will learn one way to get user input in Java. Introduce the Scanner object: Declare the variable that stores the user input: An example prompting the user for input: Methods you need to invoke in order to properly get  user input:

626 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question