Skip to main content



      Home
Home » Eclipse Projects » DSDP - Target Management » SSH Connection Refused
SSH Connection Refused [message #647211] Wed, 05 January 2011 00:40 Go to next message
Eclipse UserFriend
Hi.
I created a SSH Only connection to hook up via sftp.

I use something like:
$ ssh -luname -L6666:fileserverip:22 exthost.com

after connecting, on my local machine the following works:
$ ssh -luname -p6666 127.0.0.1

In RSE, I've set up the ssh only connection with its hostname=127.0.0.1 and the port in Sftp Files>Subsystem to 6666. However, I get the following immediately after I try to connect:
'Connect (RSE SubSystem Operation:)' has encountered a problem.
Session.connect: java.net.ConnectException: Connection refused.

I can't figure out it. I'm on mac os x 10.5.8.

Thanks,
Mark
Re: SSH Connection Refused [message #647397 is a reply to message #647211] Wed, 05 January 2011 19:24 Go to previous messageGo to next message
Eclipse UserFriend
Hm, this works fine for me on Linux RHEL4 with RSE 3.3M4.

"Connection Refused" seems to point to a Firewall issue, or invalid port being used.

HTH,
Martin
Re: SSH Connection Refused [message #647405 is a reply to message #647211] Wed, 05 January 2011 22:28 Go to previous messageGo to next message
Eclipse UserFriend
I tried it directly on a network with the server straight on there. The connection worked on port 22, even when I set the port to 6666. So it seems like the port isn't set, and continues to try to connect through port 22.

I checked and the setting is there. Not sure how to set it otherwise.

(PS I also tried connecting to the same server with Terminal inside eclipse, that worked too).
Re: SSH Connection Refused [message #647409 is a reply to message #647397] Thu, 06 January 2011 00:08 Go to previous messageGo to next message
Eclipse UserFriend
I tried it directly on a network with the server straight on there. The connection worked on port 22, even when I set the port to 6666. So it seems like the port isn't set, and continues to try to connect through port 22.

I checked and the setting is there. Not sure how to set it otherwise.

(PS I also tried connecting to the same server with Terminal inside eclipse, that worked too).
Re: SSH Connection Refused [message #647411 is a reply to message #647397] Thu, 06 January 2011 00:28 Go to previous message
Eclipse UserFriend
Ok, I've fixed it.

Seems like I didn't use the update site and had downloaded an obscure version of RSE.

After using the update site, it had the latest plugin and even the icons looked different. All is well Very Happy. Thanks!
Previous Topic:Connection errors using RSE
Next Topic:Birt Report Viewer content
Goto Forum:
  


Current Time: Wed Jul 23 14:58:05 EDT 2025

Powered by FUDForum. Page generated in 0.07877 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top