Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » DSDP - Target Management » SSH Connection Refused
SSH Connection Refused [message #647211] Wed, 05 January 2011 05:40 Go to next message
Mark  is currently offline Mark Friend
Messages: 4
Registered: January 2011
Junior Member
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] Thu, 06 January 2011 00:24 Go to previous messageGo to next message
Martin Oberhuber is currently offline Martin OberhuberFriend
Messages: 985
Registered: July 2009
Senior Member
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] Thu, 06 January 2011 03:28 Go to previous messageGo to next message
Mark  is currently offline Mark Friend
Messages: 4
Registered: January 2011
Junior Member
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 05:08 Go to previous messageGo to next message
Mark  is currently offline Mark Friend
Messages: 4
Registered: January 2011
Junior Member
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 05:28 Go to previous message
Mark  is currently offline Mark Friend
Messages: 4
Registered: January 2011
Junior Member
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: Sun Dec 21 23:18:29 GMT 2014

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

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