을 ssh를 액세스 할 수 있습니다. 텔넷도 사용할 수 없습니다. (현재 나는 단지 작은 희망으로 그것을 가능하게하려고 노력 중입니다 ...)수동으로 다시 내가 ssh를 문제에 대한 질문이 다시 임베디드 시스템에 (가능한 직접 하드 디스크 액세스)
현재 나의 유일한 상호 작용은 ping
답을 받고 smb://
을 통해 내 공유 파일을 탐색 중입니다!
$ ssh -vvvvl root 192.168.0.3
OpenSSH_5.5p1 Debian-4ubuntu4, OpenSSL 0.9.8o 01 Jun 2010
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: Applying options for *
debug2: ssh_connect: needpriv 0
debug1: Connecting to 192.168.0.3 [192.168.0.3] port 22.
debug1: Connection established.
debug1: identity file /home/simon/.ssh/id_rsa type -1
debug1: identity file /home/simon/.ssh/id_rsa-cert type -1
debug1: identity file /home/simon/.ssh/id_dsa type -1
debug1: identity file /home/simon/.ssh/id_dsa-cert type -1
debug1: Remote protocol version 2.0, remote software version OpenSSH_4.3p2 Debian-8
debug1: match: OpenSSH_4.3p2 Debian-8 pat OpenSSH_4*
debug1: Enabling compatibility mode for protocol 2.0
debug1: Local version string SSH-2.0-OpenSSH_5.5p1 Debian-4ubuntu4
debug2: fd 3 setting O_NONBLOCK
debug1: SSH2_MSG_KEXINIT sent
Read from socket failed: Connection reset by peer
하지만 장치에서 당겨과는 다른 시스템에 연결되어있는 동안의 파일을 조작을 통해 하드 디스크에 대한 액세스를 직접 :
SSH의 대답은 항상있다.
로그 오프하기 전에 내 마지막 단계 중 하나가 sudo rm /etc/ssh/*host*key*
이고이어서 dpkg-reconfigure openssh-server
이 표시되고 dpkg-reconfigure
을 찾을 수 없으므로 실패했습니다. 그래서 문제가 있다고 생각합니다. 키가 삭제되었습니다..
지금 내 질문이 있습니다 : 어떻게 키를 생성하여 대상 시스템에서 명령을 실행하지 않고 sshd
에 제공 할 수 있습니까? 아니면 sshd
키를 사용하지 않고 로그인 할 수 있습니까?
만약 당신이 도와 주셔서 감사합니다 ..?!
그것이 가능할 것이다 : 당신은 OpenSSH의 클라이언트를 실행하는 경우, 다시
ssh-keygen
를 사용하여이 문제를 해결할 수 있습니다 내 컴퓨터에서'dpkg-reconfigure openssh-server'를 실행하거나 '실제'설정 (커널 버전, 사용자 이름, 구조 ...)에서 이들 키가 일치해야합니까? – Simon