Hello,
I have a very basic question. I have installed 3 VMs of Cent OS 7 using Virtual Box.
I can ping the 3 VMs from my windows host.
I have also (tried) to install cygwin on my windows host.
I plan to run the VMs in headless mode.
now how can I edit the files inside of my VMs from inside windows?
can I SSH into a VM from my windows terminal (using cygwin) and then edit the files?
Can you please give me the steps so that I can setup this configuration.
I believe there is some complexity of key exchanges and setup before I can login into my VMs from windows.
I also tried to download and install cygwin but it gave me a very long list of software to install... what is the minimum critical components from cygwin which are needed to meet my requirements above?
(BTW, is cygwin really needed? can't I ssh into centos just using windows?
thanks
alexsunny
Edit files in CentOS VM from the Windows?
Re: Edit files in CentOS VM from the Windows?
Have hardly used virtualbox, but isn't it possible to access the VM console through virtualbox?
Re: Edit files in CentOS VM from the Windows?
Of course you can do this. The difficult part will be tracking the IP addresses, which may change on each boot.alexsunny123 wrote: ↑2021/05/08 07:10:28
now how can I edit the files inside of my VMs from inside windows?
can I SSH into a VM from my windows terminal (using cygwin) and then edit the files?
https://phoenixnap.com/kb/how-to-enable-ssh-centos-7
Edit: I would not set the ssh server to listen on a non-standard port. You will have to deal with the SELinux consequences if you do.
Re: Edit files in CentOS VM from the Windows?
The cygwin is definitely not needed. Any ssh client is ok. There are many for Windows. For example PuTTY.alexsunny123 wrote: ↑2021/05/08 07:10:28BTW, is cygwin really needed? can't I ssh into centos just using windows?
Isn't IP address allocation governed by the virtualbox and hence possible to made persistent?
Re: Edit files in CentOS VM from the Windows?
You can definitely assign static ip addresses to VBox guests and they retain the same MAC address so most DHCP servers will attempt to hand them the same ip they had before.
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke
Re: Edit files in CentOS VM from the Windows?
Furthermore, a DHCP server that you can't tell to hand out "static" address is pathetic. The "attempt" is what they do with dynamic address pool.