Cannot connect to Musicbrainz VirtualBox through SSH using Mac
        Posted  
        
            by 
                olovholm
            
        on Super User
        
        See other posts from Super User
        
            or by olovholm
        
        
        
        Published on 2012-09-21T13:11:09Z
        Indexed on 
            2012/09/23
            15:40 UTC
        
        
        Read the original article
        Hit count: 531
        
ssh
|virtualbox
I am trying to connect my mac terminal shell to a VirtualBox running the Musicbrainz server. I have configured the network through a BridgeAdapter and running ifconfig on both the host and the guest show corresponding IP addresses.
I can now ping the guest, but I cannot connect through SSH. The verbose output from the SSH client on my mac states:
(olaenv)hf-79-202:Python oclovhol$ ssh -vv [email protected] 
OpenSSH_5.6p1, OpenSSL 0.9.8r 8 Feb 2011
debug1: Reading configuration data /etc/ssh_config
debug1: Applying options for *
debug2: ssh_connect: needpriv 0
debug1: Connecting to 127.0.0.1 [127.0.0.1] port 22. 
debug1: Connection established.
debug1: identity file /Users/oclovhol/.ssh/id_rsa type -1
debug1: identity file /Users/oclovhol/.ssh/id_rsa-cert type -1 
debug1: identity file /Users/oclovhol/.ssh/id_dsa type -1
debug1: identity file /Users/oclovhol/.ssh/id_dsa-cert type -1
ssh_exchange_identification: Connection closed by remote host
        © Super User or respective owner