Salutations,
I am attempting to SSH into a virtual machine. I can do so on a Windows host, but not on a Linux host. I am hoping that a group of Linux experts may be able to help
I am using VirtualBox 7.2.0 on both hosts
Pinging 192.168.99.2 works as expected with both hosts
Host machine: Windows 10
When I ssh [email protected], I am asked for root's password. Once entered, I can SSH in as expected
ip a
ifconfig
Host machine: Ubuntu
EDIT: Ubuntu 24.04
When I ssh [email protected], I get "ssh: connect to host 192.168.99.2 port 22: Connection refused"
When I ssh [email protected], I am asked for root's password. I enter it correctly, but then I get "Permission denied, please try again"
ip a and ifconfig return identical results to the VM on the Windows host, except for the removed addresses
arping 192.168.99.1 returns "Interface "lo" is not ARPable"
arping 192.168.99.2 returns
"ARPING 192.168.992. from 192.168.99.1 vboxnet0
Unicast reply from 192.168.99.2 [a hardware address] [a very small amount of milliseconds]
Unicast reply from 192.168.99.2 [a hardware address] [a very small amount of milliseconds]"
arp-scan -l
gives one interface on the Linux host, then three IP addresses, all of which are distinct
Please Keep It Simple, as I am am new to Linux (and networks!)
I am attempting to SSH into a virtual machine. I can do so on a Windows host, but not on a Linux host. I am hoping that a group of Linux experts may be able to help
I am using VirtualBox 7.2.0 on both hosts
Pinging 192.168.99.2 works as expected with both hosts
Host machine: Windows 10
When I ssh [email protected], I am asked for root's password. Once entered, I can SSH in as expected
ip a
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN qlen 1000
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
valid_lft forever preferred_lft forever
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel master br-lan state UP qlen 1000
link/ether [removed] brd ff:ff:ff:ff:ff:ff
3: eth1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP qlen 1000
link/ether [removed] brd ff:ff:ff:ff:ff:ff
inet 10.0.3.15/24 brd 10.0.3.255 scope global eth1
valid_lft forever preferred_lft forever
inet6 [removed] scope link
valid_lft forever preferred_lft forever
4: eth2: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN qlen 1000
link/ether [removed] brd ff:ff:ff:ff:ff:ff
5: br-lan: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP qlen 1000
link/ether [removed] brd ff:ff:ff:ff:ff:ff
inet 192.168.99.2/24 brd 192.168.99.255 scope global br-lan
valid_lft forever preferred_lft forever
inet6 [removed]/64 scope link
valid_lft forever preferred_lft forever
ifconfig
br-lan Link encap:Ethernet HWaddr [removed]
inet addr:192.168.99.2 Bcast:192.168.99.255 Mask:255.255.255.0
inet6 addr: [removed] Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:94 errors:0 dropped:0 overruns:0 frame:0
TX packets:44 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:7635 (7.4 KiB) TX bytes:6402 (6.2 KiB)
eth0 Link encap:Ethernet HWaddr [removed]
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:94 errors:0 dropped:0 overruns:0 frame:0
TX packets:44 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:8951 (8.7 KiB) TX bytes:6450 (6.2 KiB)
eth1 Link encap:Ethernet HWaddr [removed]
inet addr:10.0.3.15 Bcast:10.0.3.255 Mask:255.255.255.0
inet6 addr: [removed] Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:466 errors:0 dropped:0 overruns:0 frame:0
TX packets:584 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:39668 (38.7 KiB) TX bytes:52128 (50.9 KiB)
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:65536 Metric:1
RX packets:632 errors:0 dropped:0 overruns:0 frame:0
TX packets:632 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:49296 (48.1 KiB) TX bytes:49296 (48.1 KiB)
Host machine: Ubuntu
EDIT: Ubuntu 24.04
When I ssh [email protected], I get "ssh: connect to host 192.168.99.2 port 22: Connection refused"
When I ssh [email protected], I am asked for root's password. I enter it correctly, but then I get "Permission denied, please try again"
ip a and ifconfig return identical results to the VM on the Windows host, except for the removed addresses
arping 192.168.99.1 returns "Interface "lo" is not ARPable"
arping 192.168.99.2 returns
"ARPING 192.168.992. from 192.168.99.1 vboxnet0
Unicast reply from 192.168.99.2 [a hardware address] [a very small amount of milliseconds]
Unicast reply from 192.168.99.2 [a hardware address] [a very small amount of milliseconds]"
arp-scan -l
gives one interface on the Linux host, then three IP addresses, all of which are distinct
Please Keep It Simple, as I am am new to Linux (and networks!)
Last edited:

