All Questions
Tagged with virtualbox ssh
220
questions
5
votes
2
answers
19k
views
VM got 10.0.x.x address instead of 192.168.x.x address?
I've searched the similar question (and prepared to be downvoted too).
I'm new to virtualbox, and I have Ubuntu-server-VM (with guest addition installed) run on my Windows-10-Host using VirtualBox-5.2....
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, ...
1
vote
1
answer
78
views
Is it possible to have a single IP for a VM in different networks?
I am learning about DNS administration in Linux. And I do it in my office and home. In office my IP range is 10.x.x.x/21 whereas in my home, my IP range is 192.x.x.x/24. Since I am learning DNS by ...
4
votes
1
answer
4k
views
Permanently set keyboard layout in X11
I need a psychiatrist for my PC.
It is convinced it is an iMac (sort of).
Seriously: I have a problem which popped up apparently from nowhere, most likely due to some upgrade with "side effects", ...
1
vote
1
answer
35
views
Why in port forwarding in VirtualBox I can't set both equal host port and guest port?
Name: Anything you want. example for ssh, say “ssh"
Protocol: Type of protocol [ for ssh: TCP ]
Host IP: provide hostname from which host you want to connect to [ over here: 127.0.0.1 ]
Host Port:...
0
votes
0
answers
55
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 ...
1
vote
0
answers
165
views
Stuck at Vagrant connect to SSH
I am using Vagrant 2.3.4 and Virtual Box 7.0.8 to setup VM box eurolinux-vagrant/centos-stream-9 9.0.37 on Windows 10.
After using vagrant up, I have faced the SSH issue with this log:
Net::SSH::...
0
votes
0
answers
32
views
Xshell: Unable to login to virtual VM using ssh
I have a Virtual VM RHEL9. Also configured port forwarding to login to m/c using ssh.
When i am using cmd [in Win11] it works fine.
ssh using cmd
But the same fails when used in xshell
ssh using ...
0
votes
0
answers
122
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::...
1
vote
1
answer
221
views
Vagrant cant provision vm with debian/bookworm64 ssh authentification failed
I am trying to start up a VM with this box "debian/bookworm64" but it timeouts during the ssh authentification. I've used the same Vagrantfile with ubuntu/focal64 and there it just works. I ...
3
votes
1
answer
3k
views
Packer build of a virtualbox windows 7 ISO hangs
When I am building a win 7 box using packer, it hangs waiting for SSH to be available:
==> virtualbox-iso: Downloading or copying Guest additions
virtualbox-iso: Downloading or copying: file://...
0
votes
1
answer
248
views
Vagrant up fails with VMware provider
When execute vagrant up, getting this error
The following SSH command responded with a non-zero exit status.
Vagrant assumes that this means the command failed!
/sbin/ip -o -0 addr | grep -v LOOPBACK ...
0
votes
0
answers
71
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 ...
0
votes
1
answer
107
views
VirtualBox Natted Networks & SSH
So I've run out of ideas on troubleshooting this to resolve the problem and figured this was the next stop. In short I'm running Ubuntu within VirtualBox and I'm trying to SSH to the virtual machine ...
-1
votes
1
answer
146
views
Unable connect to local webserver via secure ssh tunnel
I have problem with connection to the virtual server. I always get connection refused and I don't know how to solve it.
I installed bitnami wordpress on virutal machine(VirutalBox). This working ...