remote machine 32-bit or 64-bit? - windows

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).

Related

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

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

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.)

opening file from virtual machine on Windows host machine

I am using Windows 10 on my local machine with vagrant and docker installed for my virtual machine (VirtualBox). When I start docker/vagrant and my virtual machine is running and log in to the development machine, I get this:
root#dev:~#
I have this directory
root#dev:~/boom/properties#
My problem is how to access these folders from my windows host machine and edit the files that are in there.
Look at setting up a sync folder between Windows and Linux.
https://www.vagrantup.com/docs/synced-folders/smb.html

How can I package my perl script as a 32-bit executable?

I'm on 64-bit Windows 7 machine, and I've been using PAR:Packager to package my scripts as .exe's.
However, I now need to run these .exe's on a 32-bit Windows 7 machine.
Is there anyway to package it as a 32-bit executable from a 64-bit machine? (is it possible with PAR:Packager?)
You could install a 32-bit perl on your 64-bit machine, but most folks will recommend you just keep a 32-bit VM laying about for those times you need to publish software for legacy machines.

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.

Resources