key_load_public: Não existe tal arquivo ou diretório durante a conexão com o ssh [closed]

3

Eu tenho um PC com Windows 10 ao qual desejo me conectar e usar sua conexão com a Internet.

Portanto, instalei o openssh e o executei. Quando uso ssh <username>@<pcname> , recebo um erro:

ssh_exchange_identification: read: Connection reset by peer

E se eu usar ssh -v <usrename>@<PCname> , recebo este log:

 ~:$ ssh -v [email protected]
 OpenSSH_7.2p2 Ubuntu-4ubuntu2.1, OpenSSL 1.0.2g-fips  1 Mar 2016
 debug1: Reading configuration data /etc/ssh/ssh_config
 debug1: /etc/ssh/ssh_config line 19: Applying options for *
 debug1: Connecting to 192.168.1.100 [192.168.1.100] port 22.
 debug1: Connection established.
 debug1: identity file /home/senaps/.ssh/id_rsa type 1
 debug1: key_load_public: No such file or directory
 debug1: identity file /home/senaps/.ssh/id_rsa-cert type -1
 debug1: key_load_public: No such file or directory
 debug1: identity file /home/senaps/.ssh/id_dsa type -1
 debug1: key_load_public: No such file or directory
 debug1: identity file /home/senaps/.ssh/id_dsa-cert type -1
 debug1: key_load_public: No such file or directory
 debug1: identity file /home/senaps/.ssh/id_ecdsa type -1
 debug1: key_load_public: No such file or directory
 debug1: identity file /home/senaps/.ssh/id_ecdsa-cert type -1
 debug1: key_load_public: No such file or directory
 debug1: identity file /home/senaps/.ssh/id_ed25519 type -1
 debug1: key_load_public: No such file or directory
 debug1: identity file /home/senaps/.ssh/id_ed25519-cert type -1
 debug1: Enabling compatibility mode for protocol 2.0
 debug1: Local version string SSH-2.0-OpenSSH_7.2p2 Ubuntu-4ubuntu2.1
 ssh_exchange_identification: read: Connection reset by peer

Parece que não tenho esses arquivos, mas como obtê-los? Aqui está um ls no meu diretório:

 ~:$ ls -a .ssh
 .  ..  id_rsa  id_rsa.pub  known_hosts

Como devo corrigir esse problema? (Acho que não tenho acesso ao meu PC e quero enviar meu tráfego pela rede do meu PC, em vez da rede pública em que estou.)

aqui está um -vvv log:

~:$ ssh -vvv [email protected]
OpenSSH_7.2p2 Ubuntu-4ubuntu2.1, OpenSSL 1.0.2g-fips  1 Mar 2016
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: /etc/ssh/ssh_config line 19: Applying options for *
debug2: resolving "192.168.1.100" port 22
debug2: ssh_connect_direct: needpriv 0
debug1: Connecting to 192.168.1.100 [192.168.1.100] port 22.
debug1: Connection established.
debug1: identity file /home/senaps/.ssh/id_rsa type 1
debug1: key_load_public: No such file or directory
debug1: identity file /home/senaps/.ssh/id_rsa-cert type -1
debug1: key_load_public: No such file or directory
debug1: identity file /home/senaps/.ssh/id_dsa type -1
debug1: key_load_public: No such file or directory
debug1: identity file /home/senaps/.ssh/id_dsa-cert type -1
debug1: key_load_public: No such file or directory
debug1: identity file /home/senaps/.ssh/id_ecdsa type -1
debug1: key_load_public: No such file or directory
debug1: identity file /home/senaps/.ssh/id_ecdsa-cert type -1
debug1: key_load_public: No such file or directory
debug1: identity file /home/senaps/.ssh/id_ed25519 type -1
debug1: key_load_public: No such file or directory
debug1: identity file /home/senaps/.ssh/id_ed25519-cert type -1
debug1: Enabling compatibility mode for protocol 2.0
debug1: Local version string SSH-2.0-OpenSSH_7.2p2 Ubuntu-4ubuntu2.1
ssh_exchange_identification: read: Connection reset by peer

e um log de tail -500 /var/log/auth.log | grep 'sshd' :

Sep 22 08:23:29 SenapssPC sshd[2853]: Received SIGHUP; restarting.
Sep 22 08:23:29 SenapssPC sshd[2853]: Server listening on 0.0.0.0 port 22.
Sep 22 08:23:29 SenapssPC sshd[2853]: Server listening on :: port 22.
Sep 22 19:41:29 SenapssPC sudo:   senaps : TTY=pts/2 ; PWD=/home/senaps ; USER=root ; COMMAND=/bin/nano /etc/ssh/sshd_config
Sep 22 19:42:02 SenapssPC sudo:   senaps : TTY=pts/2 ; PWD=/home/senaps ; USER=root ; COMMAND=/bin/nano /etc/ssh/sshd_config
    
por senaps 22.09.2016 / 18:22

0 respostas

Tags