본문 바로가기

리눅스

ubuntu-touch ssh 문제

반응형

ubuntu touch를 설치하면 openssh-server가 동작을 할때 다음과 같은 오류가 생깁니다.


$ ssh phablet@192.168.1.100

Permission denied (publickey).


이럴 경우 다음과 같이 sshd_config를 수정하면 됩니다.

$ vi /etc/ssh/sshd_config


# Change to yes to enable challenge-response passwords (beware issues with

# some PAM modules and threads)

ChallengeResponseAuthentication no


대략 중간 정도에 보면 있습니다.

ChallengeResponseAuthentication 이 값을 yes로 변경하면 해결 됩니다.


또한 매번 서비스가 실행 되게 하려면 아래와 같이 입력하면 됩니다.

sudo setprop persist.service.ssh true

반응형