All Questions
Tagged with ssh virtual-machine
124
questions
26
votes
6
answers
188k
views
How can I connect via SSH (Putty) to my VMWare machine (Ubuntu)?
I'm trying to connect to my VMWare (Workstation 7.1.3) machine (Ubuntu Lucid) via SSH. I've read through some other posts, but I can't figure this out. I ran ifconfig, and got a inet addr: and Bcast ...
13
votes
5
answers
36k
views
SSH from one Virtual Machine to another in VirtualBox
I am trying to run a server on one VM and a client on another; both VMs have ScientificLinux 6.4 as their OS, running on VirtualBox 4.2.10.
The client should be able to communicate with the server ...
9
votes
3
answers
15k
views
How to configure static IP address for a Hyper-V VM (Ubuntu 19.10 Quick Create) to avoid updating ssh config after each reboot?
I'm using VS-Code remote development plugin to edit code on a hyper-v VM (which is a Ubuntu 19.10 - quick create) which is running on Windows 10 on my Laptop. The VM uses hyper-v's default switch for ...
9
votes
5
answers
22k
views
How to authenticate to a VM using Vagrant up?
Authentication failure during Vagrant Up, while vagrant ssh and ssh vagrant@localhost -p2222 works
I would like to execute a shell script using Vagrant at boot. Vagrant is unable to Authenticate, ...
7
votes
1
answer
23k
views
Virtual Box ssh not working on Virtual Box Ubuntu machine
I have Ubuntu 12.10 installed, and 12.04 Server set up in my virtual machine.
My VM has internet access, and I can ping it from my host.
ping symfony.dev # points to 192.168.56.101, and successful ...
6
votes
2
answers
5k
views
login process very slow over ssh to vagrant guest
Here's my problem, I have a 30-40 second delay after entering a username before I am prompted to enter a password, when I ssh into a vagrant guest VM. Setup is as follows: Windows 7 host, CentOS 6.5 ...
4
votes
2
answers
3k
views
how to reduce ssh X forwarding overhead
I'm using ssh -X to run a program (intellij) on a virtual machiene on my laptop (ubuntu on ubuntu) and its just a little too lagy. I could like to do something to reduce the overhead of ssh (perhaps ...
4
votes
1
answer
5k
views
How to set default shell to WSL bash for SSHing from Windows 10 machine to another Windows 10 machine (VM)?
I am SSHing into a VM on the Windows command line and the WSL bash. However, each time I SSH into the Windows 10 VM (from my own Windows 10 local machine), it opens up the default Windows command ...
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 ...
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 ...
4
votes
2
answers
2k
views
Unable to ssh to a Linux VM after a day
I have a machine running 4 VMs on it. There is one Fedora VM which is causing me some trouble. The IPs of the VMs are something like 10.100.100.* I have a Windows PC which is in the same network. It ...
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
3
answers
16k
views
Can NOT connect to local running virtual machine when dial in corporate VPN
I have an ubuntu virtual machine running on my local pc via NAT. I can use putty to ssh into my virtual machine(I have some special reason I need to use putty to connect my local running VM).
But ...
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: ...
3
votes
1
answer
4k
views
Unable to do Port Forwarding in Virtual Box
I'm using Mac OS X 10.6. I have installed Virtual Box 4.1.0 in it. My Guest OS is Ubuntu Server 11.04. I have added a rule in Port Forwarding in Virtual Box ->
"guestssh" TCP 127.0.1.1 8080 127.0.0....
3
votes
4
answers
12k
views
Can't access VMware virtual machine through SSH
I have got a VMware Server 2 on a CentOS 5.6 host. I can access my virtual machines from the host machine, but I can not access it from other machines.
I have configured NAT port forwarding. But ...
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
2
answers
5k
views
Slow SSH to Virtual Machine
I have a 256 slice VM from Slicehost that is often incredibly slow to respond to key presses over ssh. It can take as long as 3 seconds to type "ls".
From what I can tell, my VM doesn't seem to be ...
2
votes
3
answers
2k
views
Accidentally deleted all kernel files from /boot
I have a virtual machine (VM) running Ubuntu Server 14.04. I access the VM remotely using putty. Recently I came into a problem when /boot was 100% full.
I came across numerous articles which ...
2
votes
2
answers
8k
views
VM refuses key on Windows
My Vagrant VM is up and running, but if i check netstat, it is just ESTABLISHED but not LISTENING.
TCP 192.168.56.1:139 0.0.0.0:0 LISTENING
TCP 192.168.56.1:50973 192....
2
votes
1
answer
9k
views
How can I ssh from my virtual machine to the local host?
How can I ssh from my virtual machine to the local host?
I need exact details please.
Note:
Virtual machine = Ubuntu 14
Host machine = Ubuntu 16
Thanks.
2
votes
1
answer
2k
views
Can't ssh into arch linux live environment in qemu
I started arch linux in a qemu vm with guest port 22 connected to host port 60022, set the root password in the guest, and edited the sshd config in the guest to allow root logins and set the log ...
2
votes
2
answers
2k
views
Accidentally corrupted my ssh_config file on VM and can't log in anymore, can I fix this without logging in?
I am running a VM on my linux server, and I connect to it usually using SSH. I was editing the SSH configurations for this VM to try out different parameters, and last saved edit was not working.
Now,...
2
votes
1
answer
152
views
How to SSH to s virtual machine from s Linux host?
I have a virtual machine which I launch using following code.
kvm -m 2G -hda image.raw -hdb image.data.qcow2 -redir tcp:11180::80
How can I transfer files from a Linux host to the virtual machine?
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
1
answer
7k
views
How to SSH to a to a VirtualBox VM on a Windows host with NAT from another PC on the same LAN?
I have an Ubuntu 20.04 VM (VirtualBox) on a Windows 11 host.
The network is attached by NAT.
I have port forwarding in VirtualBox as follows:
Name | Protocol | Host IP | Host Port | Guest IP | ...
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
1
answer
339
views
SSH issues when launching windows8.1 VM from vagrant
As described on title, I'm having some issues launching a win8.1 VM with Vagrant, where SSH never connects. The console display the error below:
default: Warning: Connection timeout. Retrying...
...
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
3
answers
9k
views
Ubuntu Server editing file from command line
First attempts at a linux distro. Trying to run JeOS as a virtual machine on my mac with vmware fusion. Installed ubuntu server 9.04 minimal virtual machine. Installed ssh. Installed VMwareTools.
...
1
vote
1
answer
1k
views
ssh vagrant Not working inside Virtual box VM
I have Ubuntu VM in Virtual Box :
# lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 14.04.3 LTS
Release: 14.04
Codename: trusty
ssh vagrant is ...
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
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 ...
1
vote
3
answers
6k
views
VirtualBox - Internal Network - ssh connection refused
I try to get an ssh-connection between two virtual machines. Therefore I have installed two vm's with Ubuntu-Gnome-16.04 guests on a Ubuntu-Gnome-14.04 host using Oracle VirtualBox 4.3.36.
I setup ...
1
vote
2
answers
6k
views
Can't SSH to VM - I've tried many things with no luck
I've been trying to SSH to my virtual machine with no luck over the past 2 hours.
I can login directly to my VM successfully - but I can't SSH to it.
Attempt 1:
In VirtualBox, I have setup a host-...
1
vote
1
answer
981
views
how do I ssh from a vm to a private server through an ethernet cable?
A devbox has Windows 8.1 as the host OS running VirtualBox and a virtual machine with CentOS 7 for development. The devbox is connected to a CentOS 7 development server through an Ethernet cable. The ...
1
vote
2
answers
2k
views
How to run a VirtualBox VM on Windows through SSH
I have an Ubuntu server virtual machine on my Windows box, I am able to run VirtualBox on my Windows machine without problems, and then I can SSH into the newly created server. However what I am ...
1
vote
2
answers
679
views
Mosh client unable to communicate to mosh server in a guest virtual machine
I'm having trouble trying to connect to mosh-server that is installed in a Arch Linux guest Virtual Machine (set up with the stack: KVM, libvirt and QEMU).
I have a port forward configured with: virsh ...
1
vote
1
answer
2k
views
SSH passthrough?
I borrow the word "passthrough" from GPU passthrough in virtual machine because the concepts sound similar to me, at least from usage point of view. Here I have a QEMU MV, both host and ...
1
vote
1
answer
2k
views
VirtualBox Show button does not show running virtual machines
I'm running VirtualBox 6.1.12, and after running the VMs there, if by any chance the Virtual machine closes, I cannot reopen it by clicking the SHOW button. However, in the preview, I can see that the ...
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
1k
views
Connect two VMs with static IPs in VirtualBox
I've got two instances of Ubuntu Server running in VirtualBox, mimicking a cluster we're putting together. I'll be using static IPs and communicating with SSH/MPI, which works on the real machines, ...
1
vote
1
answer
1k
views
Cannot SSH into Ubuntu VM from OS X Yosemite
I am trying to SSH into a Ubuntu 14.04 VM from OS X but am not able to do so. I have tried various suggestions from Googling but none seems to work. ping does not work either and returns the host ...
1
vote
1
answer
2k
views
Running a remote command through an SSH Tunnel
I am trying to set up an ssh tunnel on my Mac OSX ('osx') to a server ('target') via an interim host ('gateway'). This tunnel needs to have a local (osx) port forward so that my Windows XP VM ('vm') ...
1
vote
2
answers
139
views
SSHing across VM's on Windows XP
I have 2 VM's, A and B, running Red Hat EL 4.5, on a host machine running Windows XP.
A's ip is 192.168.1.100
B's ip is 172.16.1.100
I have setup 2 virtual networks on Microsoft Loopback Adapter
...
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 ...