All Questions
Tagged with ssh virtual-machine
61
questions with no upvoted or accepted answers
4
votes
0
answers
2k
views
Simplest way to setup my own remote private git server
First of all, I've read all the git-server-setup documents on the internet, but still, there is one thing missing -- I want to setup a simple GIT server in (Ubuntu) Virtual Machine for myself, not for ...
3
votes
0
answers
2k
views
What can cause SSH login error: ssh_exchange_identification: Connection closed by remote host
I thought ssh_exchange_identification: Connection closed by remote host is caused by /etc/hosts.allow and/or /etc/hosts.deny, but allow's only entry is ALL:ALL and deny is empty.
On my Google Cloud ...
2
votes
0
answers
707
views
Use OpenSSH on Windows Server and connect as "NT Authority\SYSTEM"
Note on security: What I'm about to ask happens in an isolated environment, cut off from the Internet and the immediate LAN.
I'd like to SSH into a Windows Server and end up executing commands as the ...
2
votes
0
answers
407
views
Problems in SSH to 2 of my VirtualBox VMs (for mininet setup)
I'm trying to set up a Mininet environment with SDN setup, each under a separate VirtualBox VM(mininet@mininet and media@odl) (using this tutorial- pretty strait forward). First adapter in VMs by ...
2
votes
0
answers
969
views
Vagrant ssh fails -- after cloning the box with vagrant package
i've set up a first Vagrant box for python dev that works very well. I can vagrant ssh in that original box without issue.
Trouble start when i try to create a copy of that box (with vagrant package),...
2
votes
1
answer
127
views
Byobu kills windows at will
I use byobu on a virtual server (uname -a shows Linux mezgrman 2.6.32-5-openvz-amd64 #1 SMP Mon Feb 25 01:16:25 UTC 2013 x86_64 GNU/Linux).
When I log in to the machine via SSH and byobu isn't ...
2
votes
1
answer
165
views
Vmware access to vm throug ssh
i have got a vmware server 2 on centos 5.6 host. I can access my virtual machines
from host machine, but i can not access from other machines.
I have configured nat port forwarding. But somehow i ...
1
vote
0
answers
141
views
Taskhost Process has high CPU when using VirtualBox
I am running a Ubuntu VirtualBox-VM on my Windows 10 host machine.
After the VM is running for some time (not at the beginning), the process taskhostw.exe uses much of the CPU. I normaly use ssh to ...
1
vote
0
answers
253
views
QEMU in Linux container connected to over SSH
I have been trying to use QEMU to get a VM (CentOS) running hosted in a container that I use a Putty SSH session to connect to. It seems I have issues with the serial input. I am using this command ...
1
vote
0
answers
208
views
Unable to do SFTP after enabling IAP for vms in GCP
I have enabled IAP to ssh the vm , but the problem is after enabling it I am not able to do sftp , previously I was able to sftp using the vpn.
IAP configuration page
I can do ssh with gcp console ...
1
vote
1
answer
2k
views
Azure VM and ssh connection: test succeeded but PuTTY timed out
I created a resource group and a virtual machine on Azure. After that, I opened the 22 port on my VM to allow the ssh connection. The connection test on the browser succeeds but when I try to connect ...
1
vote
1
answer
769
views
Not able to curl to my VM when ssh is working
I'm trying to run a simple flask server on an Ubuntu VM.
I can ssh into it,with [email protected], but if I execute curl 123.456.789:8000 I get an operation timeout, even though the server is ...
1
vote
0
answers
115
views
Catalina and VM Ware SSH broken Pipe
I upgraded to Catalina yesterday and now all of my SSH connections to VM Fusion (cent os) images get a broken pipe after about 5 seconds. I've tried setting
Host
*\ServerAliveInterval 120
within ...
1
vote
0
answers
659
views
ssh server on VM does not accept connection from outside host
I have a setup like below:
qemu as hypervisor.
ubuntu running as a virtual machine with two network adapters:
eth0: connected to a user network.
ssh port is forwarded to a port
from host OS.
eth1: ...
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
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 ...
1
vote
1
answer
387
views
How can I ssh a virtual machine from another virtual machine?
How can I ssh a virtual machine from another virtual machine?
I am using KVM-libvirt and Vagrant to create these VMs, if this helps.
My host machine is Ubuntu desktop 16.
Please help me with ...
1
vote
0
answers
250
views
SSH into a VirtualBox VM that was configured via command line
I am trying to set up a cluster of VMs on my Ubuntu laptop so that I can test some distributed code. My goal is to execute a shell script that will spin up the configuration and another script to tear ...
1
vote
0
answers
450
views
Can't ping VirtualBox Windows 7 VM from separate OS X machine
I have a VirtualBox VM running Windows 7 on one Macbook, and have tried unsuccessfully to ping the VM's IP from another Macbook. Here is what I've tried so far:
I have turned off the 2 Windows ...
1
vote
0
answers
72
views
Is it a good idea to use the host computer as proxy of a virtual server hosted into it?
I plan to use a physical proxy between another physical server which is accesses via SSH, and the router, acting as firewall.
Right now I just have 1 physical computer to use for this net structure, ...
1
vote
3
answers
891
views
SSHing into a Ubuntu VM instance
I have an Ubuntu VM instance running on my laptop. Both Host and VM run the same OS - Ubuntu 12.04. I tried to ssh from host like
ssh username@<VM-IP>
It tries for some time and then says
ssh:...
1
vote
1
answer
568
views
SSH connection between 2 Ubuntu VMs with ObenNebula
I need to connect to Ubuntu 12.04 VMs via SSH, but it doesn't seem to work. I've gone through all the steps that seem to be OK for setting it up.
First, I installed one Ubuntu VM, updated its ...
1
vote
1
answer
865
views
Why does sshfs not work only when called inside an ssh command?
A is a Mac Os X 10.7.2 host and B is an ArchLinux VM running in A. I can ssh from A to B and from B to A using an authentication key. I want B to mount itself in A using sshfs when it starts.
Why ...
0
votes
0
answers
53
views
ssh using private key still force me to insert password
I am trying to create a ceph cluster using the ceph-ansible and encountered something I don't understand:
When I put the output of vagrant ssh-config in my ~/.ssh/config, I am able to connect to my ...
0
votes
0
answers
89
views
SSH Connection timed-out connecting to a VM via port-forwarding on Windows11
I am on an issue since a while, getting urgent, and not super confident in the Windows sphere. I have a desktop at work that functions as my test desktop. To try software, etc, I installed Hyper-V and ...
0
votes
0
answers
123
views
Iptables redirect outside requests to 127.0.0.1 (VirtualBox)
I have a virtual machine installed with the output:
ifconfig:
enp0s3: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 10.0.2.15 netmask 255.255.255.0 broadcast 10.0.2.255
inet6 fe80::...
0
votes
0
answers
420
views
What's the password needed to ssh to Windows
I have 2 VMs, one is a Kali VM and the other is a Windows 10 VM that I've initialised with a generic key (https://www.tenforums.com/tutorials/95922-generic-product-keys-install-windows-10-editions....
0
votes
0
answers
294
views
Can't SSH into Windows VM despite setting up OpenSSH
A couple of days ago, I set up a Windows 11 VM using VMware Fusion on my Macbook Air, and despite the janky and, at times, incredibly frustrating installation process (finding ISO files that will run ...
0
votes
0
answers
669
views
Permission denied (publickey, password) when running mpiexec using ssh
I am implementing a simple mpi code. I am using Oracle Virtual box and have
created two Ubuntu vm's one named master and the other named slave.
Both are connected and can successfully ping each other ...
0
votes
1
answer
31
views
Login to VM recreated locally from Azure VHD not working
how can I login to virtual machine recreated locally from VHD downloaded from Azure? My SSH credentials are not working.
Thanks for your help.
Carlo
0
votes
0
answers
164
views
How do I allow users to connect to private IP through static public IP address?
Before ignoring, please just read through. None of the previously asked questions helped.
I have 3 VMs set up in a local data center that are running the following OS:
VM1: Red Hat Enterprise Linux 9
...
0
votes
1
answer
267
views
I could SSH externally into VM, but suddenly stopped working, but worked again temporarily on router reboot. Why does this happen?
Please be gentle; I'm completely new to network management.
Background:
I am running an Ubuntu Desktop 20.x VM on a Synology DS916. Some pertinent details are as follows:
The VM has a static private ...
0
votes
1
answer
534
views
vagrant up and vagrant halt does not work fine. it shows the command failed using the windows 11 OS and vagrant 2.3.0 and virtual box 6.1.36
I have created my own box file and tried running but i am getting the below error. please help on this.
vagrant up
Bringing machine 'default' up with 'virtualbox' provider...
==> default: Importing ...
0
votes
0
answers
504
views
I am not able to connect to the headless "Ubuntu" remote virtual machine (virtual box)
I cannot connect to the headless "Ubuntu" remote virtual machine which I created using virtual box. I've installed the virtual machine and configured it on my oracle linux server using ssh ...
0
votes
1
answer
1k
views
How to SSH to a Host from a VM (Virtualbox)
It is well known how to ssh into a Virtual Machine from a Linux Host machine (at least with Virtual Box). We have to set a port forward rule into the vm's network settings. After that we can simply ...
0
votes
1
answer
585
views
Cannot send file from local machine to the server using SCP despite being able to login via SSH
I am trying to send file from my local machine (Ubuntu) to Oracle VM (Oracle Linux).
Command I tried is below, but it doesn’t work.
I can connect to the server fine using SSH.
scp -r -i /...
0
votes
1
answer
51
views
The password is different than what the system expect
This is a bit strange. I have two computer. One where the OS is Ubuntu and the other where it is a Windows 10 VM. From the first computer, I SSH my VM and I got this
jeremie@jeremie-ThinkStation-D30:~...
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
279
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
6k
views
How to SSH into a VirtualBox VM from outside?
VirtualBox version: 6.0.6
Host OS: Windows 10
Guest OS: Ubuntu 18.04
How can I VM so that I can SSH into VM from another server outside LAN?
I have tried using NAT adapter and port forwarding, ...
0
votes
1
answer
760
views
SSH to CentOS VirtualBox from PuTtY on an External Windows System
I have created a VM on my personal machine and the VM is running CentOS and I can ssh to that machine from my local Windows 10 machine via PuTty. However, I am not sure of how to ssh to the VM from a ...
0
votes
1
answer
503
views
Install RancherOS on VirtualBox: How to share public key to VM
For testing purpose, I want to install RancherOS on a VirtualBox VM. To install it, a cloud-config.yml file with public key is required to manage the system using SSH.
What's the easiest/reliable ...
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)...
0
votes
1
answer
2k
views
How to ssh from one lxc container to another?
I'm trying to experiment with a small virtual cluster of machines to learn hadoop. I'm using LXD for this purpose. I've installed ssh servers on each vm and now need to connect from one vm to another. ...
0
votes
1
answer
694
views
Keys repeating when running VMware virtual machine over SSH
I have SSH'd into another machine with a command of the form $ ssh -X user@network, typed the correct password and then ran VMware's VMPlayer from terminal with the command $ vmplayer &. However, ...
0
votes
1
answer
269
views
File transfer over VPN on VirtualBox
I'm accessing a computer inside a VPN via SSH. This access is being done through a VM.
If I wanted to do file transfer and was in an actual machine inside the network I would do rsync from/path/...
0
votes
1
answer
65
views
Host Windows 7- Vmbox Ubuntu 14.04 - Network suddenly unreachable
I have trouble reach the host network wiht my Ubuntu VM on my Windows 7 host. It works fine an network suddenly cannot be reached.
alibivmuser@ALIBIVM06:~$ ssh 192.168.0.2
ssh: connect to host 192....
0
votes
0
answers
3k
views
How to SSH to virtual machine locally without internet connection (or external modem)?
I run Ubuntu Desktop 16.04 as my host machine. I use Virtual Box to run Ubuntu Server. I SSH to my Ubuntu Server virtual machine using
NAT network with port forwarding.
With these settings I can SSH ...
0
votes
0
answers
488
views
Not able to ssh into ubuntu virtualbox vm from mac host
I have an ubuntu VirtualBox VM running on MacOS as host.
I have set up as a host-only network called vboxnet0, it is manually configured:
ip 192.168.0.15
netmask 255.255.255.0
not using dhcp
The VM ...