ssh를 사용하여 라즈베리 서버에 액세스하려고했습니다. Windows 7에서는 cygwin을 사용하고 있습니다. 여기에 내가 사용한 명령.퍼티를 통한 SSH 가능하지만 터미널을 통한 실패 가능
ssh [email protected] -v
그리고 여기 결과
OpenSSH_7.3p1, OpenSSL 1.0.2h 3 May 2016
debug1: Connecting to 10.34.8.56 [10.34.8.56] port 22.
debug1: Connection established.
debug1: identity file /home/Maswari/.ssh/id_rsa type 1
debug1: key_load_public: No such file or directory
debug1: identity file /home/Maswari/.ssh/id_rsa-cert type -1
debug1: key_load_public: No such file or directory
debug1: identity file /home/Maswari/.ssh/id_dsa type -1
debug1: key_load_public: No such file or directory
debug1: identity file /home/Maswari/.ssh/id_dsa-cert type -1
debug1: key_load_public: No such file or directory
debug1: identity file /home/Maswari/.ssh/id_ecdsa type -1
debug1: key_load_public: No such file or directory
debug1: identity file /home/Maswari/.ssh/id_ecdsa-cert type -1
debug1: key_load_public: No such file or directory
debug1: identity file /home/Maswari/.ssh/id_ed25519 type -1
debug1: key_load_public: No such file or directory
debug1: identity file /home/Maswari/.ssh/id_ed25519-cert type -1
debug1: Enabling compatibility mode for protocol 2.0
debug1: Local version string SSH-2.0-OpenSSH_7.3
debug1: Remote protocol version 2.0, remote software version OpenSSH_6.7p1 Raspbian-5+deb8u3
debug1: match: OpenSSH_6.7p1 Raspbian-5+deb8u3 pat OpenSSH* compat 0x04000000
debug1: Authenticating to 10.34.8.56:22 as 'pi'
debug1: SSH2_MSG_KEXINIT sent
Connection reset by 10.34.8.56 port 22
나는 또한이 명령
ssh [email protected] -v
를 사용하여 방랑 내부에 우분투를 통해 ssh를 시도하고 결과가
OpenSSH_6.6.1, OpenSSL 1.0.1f 6 Jan 2014
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: /etc/ssh/ssh_config line 19: Applying options for *
debug1: Connecting to 10.34.8.56 [10.34.8.56] port 22.
debug1: Connection established.
debug1: identity file /home/vagrant/.ssh/id_rsa type 1
debug1: identity file /home/vagrant/.ssh/id_rsa-cert type -1
debug1: identity file /home/vagrant/.ssh/id_dsa type -1
debug1: identity file /home/vagrant/.ssh/id_dsa-cert type -1
debug1: identity file /home/vagrant/.ssh/id_ecdsa type -1
debug1: identity file /home/vagrant/.ssh/id_ecdsa-cert type -1
debug1: identity file /home/vagrant/.ssh/id_ed25519 type -1
debug1: identity file /home/vagrant/.ssh/id_ed25519-cert type -1
debug1: Enabling compatibility mode for protocol 2.0
debug1: Local version string SSH-2.0-OpenSSH_6.6.1p1 Ubuntu-2ubuntu2.8
debug1: Remote protocol version 2.0, remote software version OpenSSH_6.7p1 Raspbian-5+deb8u3
debug1: match: OpenSSH_6.7p1 Raspbian-5+deb8u3 pat OpenSSH* compat 0x04000000
debug1: SSH2_MSG_KEXINIT sent
Connection closed by 10.34.8.56
어쨌든이었다 , 우리를 연결하려고하면 PuTTY, 모든 것이 좋습니다. 내 서버에 액세스 할 수 있습니다. 나는 ssh를 로그를보고 Cygwin에서에서 특정 결과를 나에게
sshd[6553]: fatal: Read from socket failed: Connection reset by peer [preauth]
sshd[6823]: fatal: Read from socket failed: Connection reset by peer [preauth]
sshd[6934]: Accepted password for pi from 172.19.0.5 port 51395 ssh2
sshd[6934]: pam_unix(sshd:session): session opened for user pi by (uid=0)
SSH를주고 터미널은 이미 줄 여전히 키를 다시 생성, 서버에 SSH를 다시 설치하지만, 한이 오류를
sshd[6553]: fatal: Read from socket failed: Connection reset by peer [preauth]
을 생산 보인다 같은 결과. 누구든지이 문제를 해결하는 방법을 알고 있습니까? 그래서 터미널이나 PuTTY를 통해 내 서버에 액세스 할 수 있습니다.