Connetti al mio Mac dal mio Ubuntu fallito!

1

Ho attivato l'accesso remoto in system-preference, ma ho capito quando ho provato a connettere il mio mac da ubuntu. Qualche idea?

$ ssh -vvv [email protected]
OpenSSH_5.9p1 Debian-5ubuntu1.1, OpenSSL 1.0.1 14 Mar 2012
debug1: Reading configuration data /home/danny/.ssh/config
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: /etc/ssh/ssh_config line 19: Applying options for *
debug2: ssh_connect: needpriv 0
debug1: Connecting to 129.74.164.130 [129.74.164.130] port 22.
debug1: Connection established.
debug3: Incorrect RSA1 identifier
debug3: Could not load "/home/danny/.ssh/id_rsa" as a RSA1 public key
debug1: identity file /home/danny/.ssh/id_rsa type 1
debug1: Checking blacklist file /usr/share/ssh/blacklist.RSA-2048
debug1: Checking blacklist file /etc/ssh/blacklist.RSA-2048
debug1: identity file /home/danny/.ssh/id_rsa-cert type -1
debug1: identity file /home/danny/.ssh/id_dsa type -1
debug1: identity file /home/danny/.ssh/id_dsa-cert type -1
debug1: identity file /home/danny/.ssh/id_ecdsa type -1
debug1: identity file /home/danny/.ssh/id_ecdsa-cert type -1
debug1: Remote protocol version 2.0, remote software version OpenSSH_5.9
debug1: match: OpenSSH_5.9 pat OpenSSH*
debug1: Enabling compatibility mode for protocol 2.0
debug1: Local version string SSH-2.0-OpenSSH_5.9p1 Debian-5ubuntu1.1
debug2: fd 3 setting O_NONBLOCK
debug3: load_hostkeys: loading entries for host "129.74.164.130" from file "/home/danny/.ssh/known_hosts"
debug3: load_hostkeys: loaded 0 keys
debug1: SSH2_MSG_KEXINIT sent
Connection closed by 129.74.164.130
    
posta Daniel 14.10.2013 - 20:03
fonte

1 risposta

1

Guardando l'output sembra che ci sia qualche problema con le tue chiavi RSA. Ho cercato questo e ho letto un commento su Superuser: link di cui parlano, che devi consentire al tuo utente di accedere, all'interno del file sshd_config sul computer al quale ti stai connettendo (nel tuo caso il tuo computer OSX):

sudo nano /etc/sshd_config
AllowUsers yourname@*

Non ho mai riscontrato questo problema da solo, ma a mio parere vale lo scatto.

    
risposta data 14.10.2013 - 21:28
fonte

Leggi altre domande sui tag