Eclipse - Remote Systems Explorer

software development

#1

Hello All,

I’ve been using Eclipse for sometime now to connect to various php websites I do development on. Until recently this has been no problem but now on shared servers I’m unable to connect/view the home/user directory like I used to. I can connect via SSH so that all seems to be working but opening the home directory now produces a security violation error that never happened before.

Oddly enough on a VPS or private server these issues don’t show up.

Has anyone else noticed this?

Thanks,
Jw


#2

This might sound like stupid questions, but just bear with me:

are you using the correct username and password?
does eclipes use FTP to connect, if so, do you have FTP enabled for that account?

I spent a load of time with a similar problem not to long ago. I was confused because ssh would connect fine, but FTP would not.
Turns out I had previously created an SSH key, so no password was required to login via ssh, and I was using the wrong password with FTP.
Updating the password and making sure FTP was allowed for that user fixed the problem.

Seems like eclipse would allow sftp connections, although I have never used it


#3

Thanks for the reply but yes I’m sure it’s the correct password. As I said Eclipse connects fine, I’m actually logged in and viewing the directory structure. Just when/where I could normally open/expand the home/username directory I get the error I mentioned.

Jw
[hr]
FYI Log from Eclipse…

2013-01-28 21:35:11.044 | Worker-5 | SshConnectorService.connecting…
2013-01-28 21:35:11.434 | Worker-5 | SshConnectorService.connected
2013-01-28 21:35:11.434 | Worker-5 | SftpFileService.initService
2013-01-28 21:35:11.434 | Worker-5 | SftpFileService.connecting…
2013-01-28 21:35:11.605 | Worker-5 | SftpFileService.connected
2013-01-28 21:35:11.636 | Worker-5 | SftpFileService.getFile: /
2013-01-28 21:35:11.668 | Worker-5 | SftpFileService.getFile <–
2013-01-28 21:35:11.792 | Worker-5 | SftpFileService.internalFetch: /
2013-01-28 21:35:11.902 | Worker-5 | makeHostFile.readlink
2013-01-28 21:35:11.933 | Worker-5 | makeHostFile.pwd
2013-01-28 21:35:11.933 | Worker-5 | makeHostFile.chdir
2013-01-28 21:35:11.964 | Worker-5 | SftpFileService.getFile
2013-01-28 21:35:11.995 | Worker-5 | makeHostFile.chdir
2013-01-28 21:35:12.026 | Worker-5 | makeHostFile.pwd
2013-01-28 21:35:12.026 | Worker-5 | makeHostFile.readlink
2013-01-28 21:35:12.042 | Worker-5 | makeHostFile.pwd
2013-01-28 21:35:12.058 | Worker-5 | makeHostFile.chdir
2013-01-28 21:35:12.089 | Worker-5 | SftpFileService.getFile
2013-01-28 21:35:12.120 | Worker-5 | makeHostFile.chdir
2013-01-28 21:35:12.151 | Worker-5 | makeHostFile.pwd
2013-01-28 21:35:12.167 | Worker-5 | makeHostFile.readlink
2013-01-28 21:35:12.182 | Worker-5 | makeHostFile.pwd
2013-01-28 21:35:12.182 | Worker-5 | makeHostFile.chdir
2013-01-28 21:35:12.214 | Worker-5 | SftpFileService.getFile
2013-01-28 21:35:12.245 | Worker-5 | makeHostFile.chdir
2013-01-28 21:35:12.276 | Worker-5 | makeHostFile.pwd
2013-01-28 21:35:12.276 | Worker-5 | makeHostFile.readlink
2013-01-28 21:35:12.292 | Worker-5 | makeHostFile.pwd
2013-01-28 21:35:12.292 | Worker-5 | makeHostFile.chdir
2013-01-28 21:35:12.338 | Worker-5 | SftpFileService.getFile
2013-01-28 21:35:12.354 | Worker-5 | makeHostFile.chdir
2013-01-28 21:35:12.385 | Worker-5 | makeHostFile.pwd
2013-01-28 21:35:12.385 | Worker-5 | makeHostFile.readlink
2013-01-28 21:35:12.401 | Worker-5 | makeHostFile.pwd
2013-01-28 21:35:12.401 | Worker-5 | makeHostFile.chdir
2013-01-28 21:35:12.432 | Worker-5 | SftpFileService.getFile
2013-01-28 21:35:12.463 | Worker-5 | makeHostFile.chdir
2013-01-28 21:35:12.494 | Worker-5 | makeHostFile.pwd
2013-01-28 21:35:12.494 | Worker-5 | SftpFileService.internalFetch <–
2013-01-28 21:35:12.494 | Worker-5 | SftpFileService.getFile: /
2013-01-28 21:35:12.526 | Worker-5 | SftpFileService.getFile <–
2013-01-28 21:35:12.666 | Worker-5 | SftpFileService.internalFetch: /home
2013-01-28 21:35:12.697 | Worker-5 | SftpFileService.internalFetch failed: 3: Permission denied
2013-01-28 21:35:27.860 | Worker-3 | SftpFileService.internalFetch: /home
2013-01-28 21:35:27.892 | Worker-3 | SftpFileService.internalFetch failed: 3: Permission denied

Jw


#4

Figured it out.

So I just went into the Filters and changed the default from / (root) to /home/username/ and all is well again.

At first I thought it was a difference with the shared servers and the home directory group setting but even the VPS is setup the same way with adm. But logging into the VPS account and I don’t get the same error as I get on the shared servers.

Jw