I am using Eclipse remote system explorer to connect to remote servers, the terminal keep displaying weird characters, and duplicate whatever i write.
any idea about how to solve this issue or how can i use the TM Terminal with the remote system explorer?
Related
I'm working on some tutorials and trying to do something, but no idea if it can be done. I am using windows terminal in Windows 10. I have an Ubuntu virtual machine running.
I'd like to:
Open Windows terminal
SSH into the Linux Virtual Machine
Type in the code . command and have it open a version of VS Code on my Windows PC that is working on the folder in the Ubuntu VM.
I tried install code locally and on the command line in the other machine, but it doesn't work. I am sure there are other ways to do this but wanted to explain how I was doing it to show I at least tried something. Thanks for your help.
It's not quite as easy as the code . technique you get with the Remote - WSL extension, but Microsoft also provides a Remote - SSH extension that can be used to directly access the remote machine (without requiring WSL in-the-middle).
Once the Remote - SSH extension is installed in VSCode (and it may have already been installed in an extension pack with the WSL extension), and you have installed an OpenSSH client in Windows, there are several ways to access files on the remote host through SSH:
From the Command Palette (Ctrl+Shift+P), type Remote SSH to filter on those commands. From Connect to Host, you can add a new configuration, etc.
From the Activity Bar on the left, select the Remote Explorer icon, then in the dropdown at the top, select SSH Targets. You can add hosts here through the + icon.
There's a direct shortcut to Open a Remote Window at the far left of the status bar. This will give you similar filter options on the Command Palette as above.
Once a host is configured, you can browse it just as (well, almost) if it were local, open files, edit, etc. The one thing you can't do (as far as I'm aware) is any type of sudo/su editing on files that you don't have permissions to directly.
Full details in the VSCode docs here.
When i open my workspace in VScode i go directly into my SSH work area, which is what i want. But i want to have a split terminal with access to both my SSH-work area and a terminal for my local computer, but i cant access the local one without making an explicitly new terminal from the dropdown window. And if i try to split the new local terminal i get the error "The terminal shell CWD "/Users/asd/work/" does not exist" as if its being looked for in my SSH work directory. Is there any way of specifying the default terminal to be on my local computer? If i do so in the terminal preferences in VScode i get the CWD-error on startup instead.
This should have been resolved with microsoft/vscode-remote-release issue 1479
Both of you don't have C:\Windows\System32 on your path, I don't understand why that is.
But I will change this to not rely on the PATH.
Even if this was for Windows originally, opening a local shell, (Mac or Windows) should now be possible while having a remote session.
Wtih ctrl+shift+p or cmd+shift+p(Command Palette), you have:
Terminal: Create New Integrated Terminal (local)
Bonus, with VSCode 1.53 (Jan. 2021), there is now:
Remote layout persistence
Terminal layout is restored on remote terminal reconnection. In the video below, the terminal layout is restored when reloading VS Code and reconnecting to a Windows Subsystem for Linux (WSL) remote instance.
I'm on windows machine and using Eclipse to edit some files on UNIX remote. I use Remote System Explorer to browse files over SSH which works superb (comparing with N++ explorer it's a rocket). Now the UNIX files are under ClearCase versioning and I'd like to have some "right click" options in Eclipse's Remote System Explorer, associated with some unix commands (in my case will be ClearCase commands).
Should I start learning to make a simple plugin for this?
Note: There are some ClearCase readily available plugins but all of them requires ClearCase client to be installed on windows machine (which I did) but our admins doesn't allow the windows clients to access version database for security purposes :)
So now I use putty console (Eclipse console) to check in/out files then edit them with Eclipse. Any chance to do'it once like I explain above?
Thanks in advance,
No plugin possible, because ClearCase commands through an Eclipse plugin would be executed on your local machine, and not in the ssh session.
Those cleartool commands (checkout/checkin) must be executed where the view is started (ie on the unix remote server, where the ssh session is)
I'm running Eclipse Indigo on Windows XP & Cygwin using the Subclipse plugin with our corporation SVN repository.
Overall it works just fine, however whenever I click on a file in the remote SVN repository a half dozen cmd windows open for the various ssh processes Subclipse spawns using Cygwin's ssh executable. This is very annoying since they pop up directly in front of what I'm working on and steal the cursor focus.
Could anyone tell me how I can insure that when these windows are spawned they're minimized so that they don't interfere?
The best way to do this is to use a GUI SSH client like TortoisePlink which comes with TortoiseSVN. I believe the other option would be to start Eclipse from your Cygwin Terminal. I believe the SSH client will then be connected with that Terminal and not spawn any additional windows.
my project source code is in unix, we are using CM synergy source control for code checkin/chech out files. we update the files using vi editor. Pls help in how to set up eclipse in windows system and then connect to the code server and edit the files.
You could install the Remote System Explorer framework, that allows opening files from a remote server, and also gives shell access to the remote server. For anything more specific, I'm not sure whether a free solution exists.
I experienced some problems accessing remote file systems with the Remote System Explorer Plugin, the FTP session was closed unexpectedly. I recommend for linking in your local projects remote sites Aptana Eclipse Plugin.