Skip to main content

All Questions

Tagged with
4 votes
3 answers
5k views

Should I be using vagrant destroy/up/reload/provision or something of the sort every time I want to change one of my source files?

I have recently started developing a little with vagrant and django in a vm. To get my machine up I use vagrant up, and to destroy it I use vagrant down. Both of these commands are time-consuming as ...
3 votes
3 answers
284 views

If I'm in an ssh session to a VirtualBox guest, can I know if I'm inside a VM?

Say I opened an ssh session to an IP address. Can I tell, from within the ssh session, if that ssh session is running on a VirtualBox guest VM, or on a non-VM machine? Notes: OS Host/Guest: ...
1 vote
1 answer
2k views

Cannot PuTTY into Hyper-V VM (Ubuntu 18 server)

An Ubuntu 18.04 server virtual machine in Hyper-V refuses connections via PuTTY. The guest is running & can be pinged from the host (Windows 10, 1903). The server is freshly built from an iso. ...
0 votes
0 answers
352 views

How do I access the guest virtual machines through an esxi server?

I have installed Guest VM with default template which has some static IP address and which is not reachable from outside i.e private Network. My ultimate aim to change the IP address. How do I change ...
0 votes
0 answers
280 views

Virtual machine host-only network with SSH port forwarding

I've got a Windows XP virtual machine (vmware workstation) which I need protected from the internet. I need it for programming some old hardware, which uses some old software that only runs on Windows ...
0 votes
0 answers
67 views

try to SSH connect Centos VM to Windows VM using public key

I have two VMs , one in Centos and one in Windows, I should SSH connect from Centos VM to Windows VM. I have no issue to SSH connect with password. But I have to definitely use publickey to connect ...
0 votes
1 answer
2k views

Deny all incoming ssh (Except for one user) and allow sftp to a group of users at the same time

I want to have the following requirements for my server VM incoming SSH/SFTP connections at the same time. Please note that I don't want to restrict the incoming IPs so I want to open the port for any ...
4 votes
1 answer
2k views

How can I automatically upload code changes on a remote VM

My current works involves working on scripts running on a Ubuntu VM. For multiple reasons, I'm editing and committing project files on a local computer running Windows, and running them on a remote ...
1 vote
1 answer
3k views

Azure VM --generate-ssh-keys, no passphrase

I've created an Azure Ubuntu VM, using azure cli with the following command: az vm create \ --resource-group rgName \ --name vmName-$RANDOM \ --image UbuntuLTS \ --admin-username ...
1 vote
1 answer
481 views

how do I ssh Linux VM over virtualbox from windows

I spin up a Centos7 virtual machine over Virtualbox and trying to access via ssh from putty over windows from another machine in a same network, below are the details of my VM: IP addresses: Windows ...
1 vote
2 answers
2k views

SSHing to my XCP-ng server connects to hypervisor and not VM even when using seperate IPs

I have an old HP ProLiant DL385 G5p server that I used to use only as a glorified NAS, but now I'd like to do something more with it, such as set up a caching DNS server for my network. I'd like to ...
0 votes
1 answer
2k views

Backup plan for VMs/docker on unraid [closed]

I am considering running an unraid server (https://unraid.net/) using the virtual machine manager (basically a front end for KVM) rather than many separate machines to do tasks in my network. My ...
0 votes
1 answer
3k views

Connecting to linux vm from Mac OS X

My friend has a windows laptop and has installed a Linux VM using virtual box I want to ssh into the Linux vm using my Mac OS and we are connected to the same wi-fi network (the network adapter is NAT)...
1 vote
2 answers
2k views

Linux/Google Cloud VM Instance give permissions to SSH key user

I created an SSH key to connect my google VM instance to FileZilla. But I get permission errors. For example, I want to replace the index.html. But I get: How do I get my SSH key user to have full ...
1 vote
1 answer
849 views

CentOS 7 Virtualbox VM SSH Connection Suddenly Refused

I am new to linux and am working with a minimal CentOS 7 installation on a VM running on Virtualbox with a Win10 host. Up until today, I was able to use PuTTy and WinSCP to SSH into the VM from the ...

15 30 50 per page
1 2 3
4
5
9