linux - Virtualbox responding to SSH on vboxnet0 even when all guests are off -


i have macos host , virtualbox running kali linux guest. wanted set ssh host guest. didn't work (wrong password error). realised guest down, getting same error.

output of ifconfig on host:

```

lo0: flags=8049<up,loopback,running,multicast> mtu 16384     options=3<rxcsum,txcsum>     inet6 ::1 prefixlen 128      inet 127.0.0.1 netmask 0xff000000      inet6 fe80::1%lo0 prefixlen 64 scopeid 0x1      nd6 options=1<performnud> gif0: flags=8010<pointopoint,multicast> mtu 1280 stf0: flags=0<> mtu 1280 en0: flags=8863<up,broadcast,smart,running,simplex,multicast> mtu 1500     ether 00:05:69:3c:69:5f      inet6 fe80::205:69ff:fe3c:695f%en0 prefixlen 64 scopeid 0x4      inet 172.26.88.44 netmask 0xfffff000 broadcast 172.26.95.255     nd6 options=1<performnud>     media: autoselect     status: active en1: flags=963<up,broadcast,smart,running,promisc,simplex> mtu 1500     options=60<tso4,tso6>     ether 72:00:00:44:ee:70      media: autoselect <full-duplex>     status: inactive en2: flags=963<up,broadcast,smart,running,promisc,simplex> mtu 1500     options=60<tso4,tso6>     ether 72:00:00:44:ee:71      media: autoselect <full-duplex>     status: inactive bridge0: flags=8863<up,broadcast,smart,running,simplex,multicast> mtu 1500     options=63<rxcsum,txcsum,tso4,tso6>     ether ba:e8:56:93:42:00      configuration:         id 0:0:0:0:0:0 priority 0 hellotime 0 fwddelay 0         maxage 0 holdcnt 0 proto stp maxaddr 100 timeout 1200         root id 0:0:0:0:0:0 priority 0 ifcost 0 port 0         ipfilter disabled flags 0x2     member: en1 flags=3<learning,discover>             ifmaxaddr 0 port 5 priority 0 path cost 0     member: en2 flags=3<learning,discover>             ifmaxaddr 0 port 6 priority 0 path cost 0     nd6 options=1<performnud>     media: <unknown type>     status: inactive p2p0: flags=8843<up,broadcast,running,simplex,multicast> mtu 2304     ether 0a:e8:56:39:e8:cc      media: autoselect     status: inactive awdl0: flags=8943<up,broadcast,running,promisc,simplex,multicast> mtu 1484     ether ee:8d:0b:ea:a5:df      inet6 fe80::ec8d:bff:feea:a5df%awdl0 prefixlen 64 scopeid 0x9      nd6 options=1<performnud>     media: autoselect     status: active utun0: flags=8051<up,pointopoint,running,multicast> mtu 1500     inet6 fe80::214f:e34a:37df:baa0%utun0 prefixlen 64 scopeid 0xa      nd6 options=1<performnud> vboxnet0: flags=8843<up,broadcast,running,simplex,multicast> mtu 1500     ether 0a:00:27:00:00:00      inet 192.168.56.1 netmask 0xffffff00 broadcast 192.168.56.255 

```

what see when connect 192.168.56.1, vms powered down:

```

ssh  -v root@192.168.56.1 openssh_7.3p1, openssl 1.0.2h  3 may 2016 debug1: reading configuration data /users/mark/.ssh/config debug1: /users/mark/.ssh/config line 27: deprecated option "useroaming" debug1: reading configuration data /usr/local/etc/ssh/ssh_config debug1: connecting 192.168.56.1 [192.168.56.1] port 22. debug1: connection established. debug1: identity file /users/mark/.ssh/id_rsa type 1 debug1: key_load_public: no such file or directory debug1: identity file /users/mark/.ssh/id_rsa-cert type -1 debug1: key_load_public: no such file or directory debug1: identity file /users/mark/.ssh/id_dsa type -1 debug1: key_load_public: no such file or directory debug1: identity file /users/mark/.ssh/id_dsa-cert type -1 debug1: key_load_public: no such file or directory debug1: identity file /users/mark/.ssh/id_ecdsa type -1 debug1: key_load_public: no such file or directory debug1: identity file /users/mark/.ssh/id_ecdsa-cert type -1 debug1: key_load_public: no such file or directory debug1: identity file /users/mark/.ssh/id_ed25519 type -1 debug1: key_load_public: no such file or directory debug1: identity file /users/mark/.ssh/id_ed25519-cert type -1 debug1: enabling compatibility mode protocol 2.0 debug1: local version string ssh-2.0-openssh_7.3 debug1: remote protocol version 2.0, remote software version openssh_6.9 debug1: match: openssh_6.9 pat openssh* compat 0x04000000 debug1: authenticating 192.168.56.1:22 'root' debug1: ssh2_msg_kexinit sent debug1: ssh2_msg_kexinit received debug1: kex: algorithm: curve25519-sha256@libssh.org debug1: kex: host key algorithm: ecdsa-sha2-nistp256 debug1: kex: server->client cipher: chacha20-poly1305@openssh.com mac: <implicit> compression: none debug1: kex: client->server cipher: chacha20-poly1305@openssh.com mac: <implicit> compression: none debug1: expecting ssh2_msg_kex_ecdh_reply debug1: server host key: ecdsa-sha2-nistp256 sha256:+vfmfafltbtznngnal3qsmkffxcuedzldayoufuuc6m debug1: host '192.168.56.1' known , matches ecdsa host key. debug1: found key in /users/mark/.ssh/known_hosts:45 debug1: rekey after 134217728 blocks debug1: ssh2_msg_newkeys sent debug1: expecting ssh2_msg_newkeys debug1: rekey after 134217728 blocks debug1: ssh2_msg_newkeys received debug1: skipping ssh-dss key /users/mark/.ssh/rms_sgs - not in pubkeyacceptedkeytypes debug1: ssh2_msg_service_accept received debug1: authentications can continue: publickey,keyboard-interactive debug1: next authentication method: publickey debug1: offering rsa public key: /users/mark/.ssh/id_rsa debug1: authentications can continue: publickey,keyboard-interactive debug1: trying private key: /users/mark/.ssh/id_dsa debug1: trying private key: /users/mark/.ssh/id_ecdsa debug1: trying private key: /users/mark/.ssh/id_ed25519 debug1: next authentication method: keyboard-interactive password: 

```

and no matter password try, nothing works. why able connect? connecting to?

when run ifconfig, seeing list of interfaces , address belong your host. so, 192.168.56.1 address of your host on 192.168.56.0/24 network.

trying ssh address same trying ssh 127.0.0.1.


Comments

Popular posts from this blog

java - Jasper subreport showing only one entry from the JSON data source when embedded in the Title band -

serialization - Convert Any type in scala to Array[Byte] and back -

SonarQube Plugin for Jenkins does not find SonarQube Scanner executable -