Can't sftp to remote server via SSH using RSE in eclipse while on VPN(Cisco AnyConnect) - eclipse

Everything is fine while I'm using Windows XP but after upgrading to windows 7, I can no longer access remote systems (vms and linux servers) using RSE in eclipse while on VPN(Cisco AnyConnect). I'm getting pop-up message RSEG1066 -- Failed to connect sshd on :22. detail button says "java.net.SocketException: Permission denied: connect"
I can access those systems via SSH in putty from the same Windows environment. Any eclipse users here experiencing the same problem?

Looks like the module used by RSE to connect to the remote server is not yet compatible with java 7. Reverting back to older version (java 6 in my case) solves the issue.

Related

VSCode remote ssh: Can't install extensions on remote server

I am trying to install an extension (as an example cmake tools) on my remote server (ubuntu Arm 64). I have enabled remote.downloadExtensionsLocally feature). When I try to install the extensions, it seems downloaded locally but can't be installed on the target server.
My Host: Windows 10
My Server: Ubuntu 64 ARM running on a rasp4
Here are my user settings (I have enabled a proxy. no diff with/without proxy):
and here are my remote settings:
and this is my windows trace logs after clicking on install button (As can be seen the extension has downloaded successfully):
and my remote server log:
Please check if your Linux kernel/version is compatible with the doc. I guess that the requirements on your server are not met. Please check them:

Running eclipse with remote Git checkout repository

On my windows laptop, I use putty to ssh on the remote server where I have git checkout a C project. I would like to use eclipse(CDT) for program development on my laptop but compilation and program execution is only possible on the remote server. Can I map the repository checked out on remote server into eclipse on my laptop so that I can avoid working with two copies of the checked out project.
This seems not possible unless you are using an Eclipse installed on the remote machine... and use it on your Windows laptop.
See "Remote Eclipse over X11".
Since you are on Windows, you would use an X11 emulator like vcxsrv.
That would avoid the sshfs setup.
The other approach would be to replicate your remote machine environment in a VM (VirtualBox) or a Docker image/container in order to be able to compile locally (and then push the modified sources to your remote machine with Git)

Netbeans FTP unable to upload

I am new to NetBeans & PHP Scripting, so please forgive me..
Issue: Unable to upload the php files via NetBeans IDE into remote server Ubuntu (FTP port: 21).
SSH Port 22 is working fine,even with NetBeans
Error Log:
My Operating Environment
NetBeans 7.4 Patch 3 is installed in Windows 10.
Remote server is a virtual machine (Ubuntu 16.4)
Check List Done
FTP Clients are working fine(WinSCP Manual....which I am trying to avoid)
NetBeans Terminal I can edit the files (noticed the port is different 22)
Remote folder is owned by the FTP User
Played with NetBeans Run Configuration Parameters [Passive Mode, Pure FTP...etc]
Any Help is greatly appreciated and Thanks is advance.
Ravi
Solution Steps:
Edit /etc/vsftpd.conf
uncomment #write_enable=YES --> write_enable=YES
Restart vsftpd (sudo service vsftpd restart)
Closed NetBeans IDE and opened it again

Build and debug a project on a remote server via SSH with Eclipse

Unfortunately, I do not find a solution for my problem in this similiar question.
I have a server with special hardware and a special (GNU-compatible) toolchain. I can only access this server via SSH.
Now I try to set up a development system with Eclipse. Is it possible to set-up a configuration to be able to build and debug via SSH as if the program would run on my local computer? And if yes, could you tell me a little bit about it? ;-)
Provided your server is a Linux machine running a X server, you may want to look around SSH -X.
Install Eclipse on your server
Install an X11 environment on your client (e.g. for Windows: XMing)
Connect to SSH with the -X option (e.g. for Windows, there is a checkbox on Putty)
Launch Eclipse from the ssh connection.

Eclipse CVS extssh broken under Windows 7 + Java 7

I'm running Windows 7 64-bit. After installing Java 7 (part of PS3 media server) when I was previously using Java 6, my Eclipse (Indigo Service Release 2, Build id: 20120216-1857) CVS stopped working to the server that's on a VPN. I connect using Cisco AnyConnect VPN Client Version 2.5.2019. The error I get whenever I try to connect to a repository is the following:
Could not connect to :extssh:username#example.com:/cvsroot/username/project: CVS communication error: org.eclipse.team.internal.ccvs.ssh2.CVSSSH2ServerConnection$SSH2IOException: Permission denied: connect
Permission denied: connect
I'm able to work around it by forcing Eclipse to run under the Java 6 JVM. It's not a firewall issue, because I turned off the Windows firewall, and also Wireshark shows no traffic beyond the DNS lookup.
Both my JREs (Java 6 and Java 7) are 32-bit versions; their paths are respectively
C:\Program Files (x86)\Java\jre6
C:\Program Files (x86)\Java\jre7
I found an answer that is to a very similar question, except it involves SVN rather than CVS. The "bug" seems to be that Cisco AnyConnect VPN is not supporting properly IPv6, which is invoked with the newer jre7.
So, adding the following to my eclipse.ini is a fix for my situation:
openFile
-vmargs
-Djava.net.preferIPv4Stack=true