Copy a file from remote Windows machine to Linux machine without Cygwin - windows

I am looking for a possibility to copy a file from Windows to a Linux machine, and my Windows machine will not have Cygwin installed .
The command I am trying is
linux #> scp windows-machine:e:\file.txt

Since you say "my windows machine will not have cygwin installed", I'm assuming you cannot install arbitrary software on the Windows side but that you have control of the Linux machine. Under those assumptions, you can use the Windows FTP client to transfer files to the Linux machine. (Of course, you will have to enable the FTP daemon on the Linux machine, most likely via inetd or systemctl.)

Related

Vagrant treating WSL as Linux on one machine (treats WSL as Windows elsewhere)

We are using Trellis and Vagrant to provision developer WordPress instances on windows machine (within the Windows Subsystem for Linux.) On one machine we are having a lot of issues, and have managed to figure out that the Vagrant::Util::Platform.platform variable is set to mingw32 on the machines that work well, but it is set to linux-gnu on the problematic machine.
Tracing back a bit further to https://github.com/hashicorp/vagrant/blob/master/lib/vagrant/util/platform.rb it appears that Vagrant uses RbConfig::CONFIG["host_os"] to determine the platform.
Not sure where to proceed from there - what would cause Ruby to report Linux in the WSL of one machine, but Windows on the WSL of another machine?

pycharm on host machine, file ONLY on guest/remote machine

Is it possible to use pycharm installed on the host machine, to use remote interpreter and files on a vagrant guest machine, without having a copy of them on the host machine?
It is possible but you have to pay the licencse to do it. yYou'll need to use Pycharm Professional Edition
See pycharm info

remote machine 32-bit or 64-bit?

I have ssh into a windows machine through my linux machine using putty. How do i find if the machine i have ssh into is 64-bit or 32-bit?
Assuming a 64-bit build of OpenSSH is installed on your Windows host, check if there is a C:\Windows\SysWow64 directory?
If it's a 32-bit build of OpenSSH, you can do the opposite and check for system files that should be in C:\Windows\system32\ but aren't as you're being invisibly redirected to C:\Windows\SysWow64 instead (bcdedit.exe, for example, is in system32 but not in syswow64).

Accessing machine through wifi

I have one computer running ubuntu operating system. It is having a wifi router connected to it. I have other laptop which runs windows 7 operating system.
Is there a way to access the ubuntu machine from windows machine through wifi and vice versa ?
You can use TeamViewer in both windows and linux. It will give you full control of the remote machine but I'm not sure if you can do file transfering...
For file transferring, connecting from windows to linux I would use winSCP, which access files through ssh, so you would have to install an run sshd on your linux box. If you haven't sshd in your ubuntu box, install it by doing $ sudo apt-get install ssh. You can start ssh daemon in ubuntu 11.10 with the command $ sudo service ssh start. From linux (Ubuntu 11.10) to windows (w7), I have successfully got into w7 machines in my local network by exploring the Network section in the left bar of the nautilus explorer. Sometimes, for some folders it would ask me for credentials to log into the remote machine, and file transferring was as simple as doing copy and paste (Ctrl+c, Ctrl+v)
hope to be helpful! good luck!
VNC is good for remote work on both Windows and Linux. You'll need to install VNC on Windows but I believe it comes by default with Ubuntu. You need to configure one to be the server and then you can use a client from the other machine to connect to it and remotely control the server machine.
Here are some resources for VNC in Ubuntu: https://help.ubuntu.com/community/VNC
And I use TightVNC when I'm working on Windows (server and client included in the install).
Install XRDP on Ubuntu.
on windows then run msrtc -v
if over the internet , I say use
https://www.dwservice.net/en/download.html
free and lot better than teamviwer.

Accessing files outsude VMWare

I am running Oracle Enterprise Linux on VMWare. I now want to install Oracle which is is located on my C drive in Windows. Is there a way to copy this file to a folder in my virtual machine?
If its just once off, easiest way is to install winscp onto your windows host, setup a bridged or host only network on the vmware server and using winscp to copy the files in.
I think you can install vmware tools which would allow for shared folders, but last time I tried I ran into some issues and gave up.

Resources