SSH connection to a local Virtual Machine
I would like to create a small home server for file sharing.
Since I do not have time to old computer at hand, I had a crazy idea: to install a server VM on my computer.
I would have run directly to it, but I use windows XP and I would like my server is under debian. So I installed Debian on a VM, I installed the SSH package.
But how do I connect with SSH from my computer, and another with putty?
For the host, I try 127.0.0.1, my ip, but neither does ....
How?
Thank you in advance,
Re: SSH connection to a local Virtual Machine
If you have the network on your Debian you do ifconfig it will give you its IP address and you make a ssh to that ip with putty.
Re: SSH connection to a local Virtual Machine
Before any comments that would be nice to specify which software you use to virtualize. Anyway, everyone I know isolate the virtual machine network of real machine by default, so you'll have to go through the setup before you can log into SSH.
Stop trying stupid things to chance.
You want to connect to a machine that is not yours and you start by testing on the local loop? You have no basic network visibly?
Re: SSH connection to a local Virtual Machine
No indeed I have no basic network.
I have two computers.
I'm running Debian in a VM (virtualized by virtual box), and I would like to connect to this VM SSH from another computer.
Re: SSH connection to a local Virtual Machine
You stop your machine, you do it right click -> preferences -> Network tab and if you look at your network card is enabled (according to my memories I never had to setup, just perhaps enable NIC).
After I tell you this from memor
Re: SSH connection to a local Virtual Machine
Finally I'll be running my server on a VM (True Machine ). By against, what IP do I connect over SSH? I have tried 127.0.0.1, my IP, but nothing works
Re: SSH connection to a local Virtual Machine
Already it would be good to set the local ip of this machine.
Works on the local machine and edit / etc / networking / interfaces to pass the ip sets.
Code:
auto eth0
allow-hotplug eth0
iface eth0 inet static
address 192.168.1.20
netmask 255.255.255.0
gateway 192.168.1.1
It tells the interface to take a fixed ip then configured address, ss asque of network and gateway.
Then there is a
Code:
sudo / etc / init.d / networking restart
and tents after you log in using ssh the ip you assigned to your machine.