Skip to main content

All Questions

Tagged with
13 questions with no upvoted or accepted answers
2 votes
1 answer
322 views

ssh key based login works only if one session is already active. fails otherwise

ssh with key-based authentication is failing the first time, falling to password based authentication. However, if the user is logged in ( via ssh, or directly on the VM's terminal), then key-based ...
amarnath's user avatar
1 vote
0 answers
763 views

DEBUG ssh: Sending SSH keep-alive in vagrant in windows

I'm using virtualbox-4.3 and vagrant-1.8.4 on windows machine. At the time of starting vagrant getting below error continue : DEBUG ssh: Sending SSH keep-alive Here I can't disable the key (config....
Nullpointer's user avatar
1 vote
0 answers
845 views

Cannot SSH into VirtualBox Ubuntu VM using Putty

I'm running Windows 7 and have Ubuntu VirtualBox installed. I'm trying to ssh into Ubuntu from my Windows using Putty. I failed. I have tried the following: I see that OpenSSH server is running and ...
user2773013's user avatar
1 vote
1 answer
1k views

permission denied (publickey) but key seems is present

I hope I didn't overlook an answer but so far it seems I'm hitting a brickwall. I'm using VirtualBox on my Mac OS X with an Ubuntu 12.04 guest system. While it works perfectly fine with password ...
Flynn's user avatar
  • 27
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:...
Prasanna's user avatar
  • 131
0 votes
0 answers
56 views

SSH refuses to work no matter how much work

I am running on a Windows laptop to a Ubuntu MacBook Pro that's running Ubuntu Sever on VirtualBox. I'm running it over VM because the connection at my house is dynamic and Wi-Fi only, and I cannot ...
SensorMyth's user avatar
0 votes
0 answers
73 views

Virtualbox Port-Forwarding Does nothing when SSH connection is attempted

I recently created an Ubuntu 22.04 VM with virtualbox. Its network setup consists of a Host-Only Network & and a NAT. I recently set it up to allow ssh connections on the private network through ...
Cyberslash's user avatar
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 ...
user2450515's user avatar
0 votes
0 answers
1k views

Vagrant box not coming up as expected after once working

I set up Vagrant yesterday to use Ubuntu and it was working perfectly. I used the vagrant ssh command to connect with the Ubuntu VM which was created automatically on VirtualBox. Today I was trying to ...
Dhruva Jindal's user avatar
0 votes
1 answer
1k views

How to change vagrant guest vm ip when the host machine changes the network?

I have a vagrant client box "ubuntu/trusty64" on my laptop. I frequently change networks home/work/caffe or connect my laptop to my cell hotspot. I would like to use public networking on all the ...
Mindaugas Bernatavičius's user avatar
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 ...
A j's user avatar
  • 195
0 votes
1 answer
861 views

Virtualbox: can't ssh from host to guest

When I try to ssh from the host to the guest, the connection is refused. How do I set this up? I have a Win7 host and an Ubuntu server 14.04 guest. I have 2 interfaces set up, eth0 in NAT and eth1 ...
ewok's user avatar
  • 4,301
0 votes
1 answer
1k views

Trying to setup an SSH connection from an external Internet connection to a VirtualBox guest OS instance

I was having problems creating a SSH tunnel—while I was away from home—back to my VirtualBox guest machine back at my house. I did some research using search engines and looking at numerous sites, but ...
NoobNet14's user avatar