VirtualBox

Opened 8 years ago

Closed 8 years ago

#15383 closed defect (worksforme)

Problem with NAT port forwarding on Mac version 5.0.20(regression)

Reported by: minamoto Owned by:
Component: other Version: VirtualBox 5.0.20
Keywords: nat port-forwarding Cc:
Guest type: other Host type: other

Description

Hello, I'm experiencing problem to connect to ssh on guest, the problem appears in 5.0.20

Attachments (2)

VBox.log.1 (96.4 KB ) - added by minamoto 8 years ago.
log 5.0.20
VBox.log (65.1 KB ) - added by minamoto 8 years ago.
vbox 5.0.18 (good)

Download all attachments as: .zip

Change History (7)

by minamoto, 8 years ago

Attachment: VBox.log.1 added

log 5.0.20

by minamoto, 8 years ago

Attachment: VBox.log added

vbox 5.0.18 (good)

comment:1 by Frank Mehnert, 8 years ago

Which (exact) command are you using on the host to connect with the guest and what is the output? And please add the '-v' parameter.

comment:2 by minamoto, 8 years ago

0:minamoto@minamoto-osx-pro(0)# ssh -v -p 2022 l4ka@localhost
OpenSSH_6.9p1, LibreSSL 2.1.8
debug1: Reading configuration data /Users/minamoto/.ssh/config
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: /etc/ssh/ssh_config line 21: Applying options for *
debug1: Connecting to localhost [::1] port 2022.
debug1: connect to address ::1 port 2022: Connection refused
debug1: Connecting to localhost [fe80::1%lo0] port 2022.
debug1: connect to address fe80::1%lo0 port 2022: Connection refused
debug1: Connecting to localhost [127.0.0.1] port 2022.
debug1: Connection established.
debug1: identity file /Users/minamoto/.ssh/id_rsa type 1
debug1: key_load_public: No such file or directory
debug1: identity file /Users/minamoto/.ssh/id_rsa-cert type -1
debug1: key_load_public: No such file or directory
debug1: identity file /Users/minamoto/.ssh/id_dsa type -1
debug1: key_load_public: No such file or directory
debug1: identity file /Users/minamoto/.ssh/id_dsa-cert type -1
debug1: key_load_public: No such file or directory
debug1: identity file /Users/minamoto/.ssh/id_ecdsa type -1
debug1: key_load_public: No such file or directory
debug1: identity file /Users/minamoto/.ssh/id_ecdsa-cert type -1
debug1: key_load_public: No such file or directory
debug1: identity file /Users/minamoto/.ssh/id_ed25519 type -1
debug1: key_load_public: No such file or directory
debug1: identity file /Users/minamoto/.ssh/id_ed25519-cert type -1
debug1: Enabling compatibility mode for protocol 2.0
debug1: Local version string SSH-2.0-OpenSSH_6.9
ssh_exchange_identification: Connection closed by remote host

comment:3 by minamoto, 8 years ago

Here the same with 5.0.18

0:minamoto@minamoto-osx-pro(0)# ssh -v -p 2022 l4ka@localhost
OpenSSH_6.9p1, LibreSSL 2.1.8
debug1: Reading configuration data /Users/minamoto/.ssh/config
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: /etc/ssh/ssh_config line 21: Applying options for *
debug1: Connecting to localhost [::1] port 2022.
debug1: connect to address ::1 port 2022: Connection refused
debug1: Connecting to localhost [fe80::1%lo0] port 2022.
debug1: connect to address fe80::1%lo0 port 2022: Connection refused
debug1: Connecting to localhost [127.0.0.1] port 2022.
debug1: Connection established.
debug1: identity file /Users/minamoto/.ssh/id_rsa type 1
debug1: key_load_public: No such file or directory
debug1: identity file /Users/minamoto/.ssh/id_rsa-cert type -1
debug1: key_load_public: No such file or directory
debug1: identity file /Users/minamoto/.ssh/id_dsa type -1
debug1: key_load_public: No such file or directory
debug1: identity file /Users/minamoto/.ssh/id_dsa-cert type -1
debug1: key_load_public: No such file or directory
debug1: identity file /Users/minamoto/.ssh/id_ecdsa type -1
debug1: key_load_public: No such file or directory
debug1: identity file /Users/minamoto/.ssh/id_ecdsa-cert type -1
debug1: key_load_public: No such file or directory
debug1: identity file /Users/minamoto/.ssh/id_ed25519 type -1
debug1: key_load_public: No such file or directory
debug1: identity file /Users/minamoto/.ssh/id_ed25519-cert type -1
debug1: Enabling compatibility mode for protocol 2.0
debug1: Local version string SSH-2.0-OpenSSH_6.9
debug1: Remote protocol version 2.0, remote software version OpenSSH_7.2p2 Ubuntu-4
debug1: match: OpenSSH_7.2p2 Ubuntu-4 pat OpenSSH* compat 0x04000000
debug1: Authenticating to localhost:2022 as 'l4ka'
debug1: SSH2_MSG_KEXINIT sent
debug1: SSH2_MSG_KEXINIT received
debug1: kex: server->client chacha20-poly1305@openssh.com <implicit> none
debug1: kex: client->server chacha20-poly1305@openssh.com <implicit> none
debug1: expecting SSH2_MSG_KEX_ECDH_REPLY
debug1: Server host key: ecdsa-sha2-nistp256 SHA256:0spCUXzH4PSqJG1WsK8jXoyhhTUVrSj7az9cAAU93qg
debug1: checking without port identifier
The authenticity of host '[localhost]:2022 ([127.0.0.1]:2022)' can't be established.
ECDSA key fingerprint is SHA256:0spCUXzH4PSqJG1WsK8jXoyhhTUVrSj7az9cAAU93qg.

comment:4 by minamoto, 8 years ago

looks like false alarm, after removing line from known_hosts issue was gone. sorry for inconvenience.

comment:5 by Frank Mehnert, 8 years ago

Resolution: worksforme
Status: newclosed

Thanks.

Note: See TracTickets for help on using tickets.

© 2023 Oracle
ContactPrivacy policyTerms of Use