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 ...