key_load_public: SSH에 연결할 때 해당 파일이나 디렉터리가 없습니다.

key_load_public: SSH에 연결할 때 해당 파일이나 디렉터리가 없습니다.

Windows 10 컴퓨터가 있고 해당 컴퓨터에 연결하여 인터넷 연결을 사용하고 싶습니다.

openssh그래서 설치해서 실행 해봤습니다 . 을 사용하면 ssh <username>@<pcname>오류가 발생합니다.

ssh_exchange_identification: read: Connection reset by peer

을 사용하면 ssh -v <usrename>@<PCname>다음 로그가 표시됩니다.

 ~:$ 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

이 파일들이 없는 것 같은데, 어떻게 구하나요? 이것은 ls내 디렉토리입니다:

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

이 문제를 어떻게 해결해야 합니까? (내 컴퓨터에 액세스할 수 없고 현재 사용 중인 공용 네트워크가 아닌 내 컴퓨터 네트워크를 통해 트래픽을 보내고 싶은 것 같습니다.)

다음은 로그입니다 -vvv.

~:$ 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

그리고 다음의 로그 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

관련 정보