주 메뉴 열기

wwiki β

바뀜

SSH

3 바이트 추가됨, 2019년 4월 20일 (토) 03:16
키 생성
== SSH using Linux or Mac OS ==
https://www.raspberrypi.org/documentation/remote-access/ssh/unix.md
== 자동로그인 ==
=== 키 생성 === ==== 리눅스 ====
$ ssh-keygen -t rsa
나머지는 엔터치면 기본값으로 .ssh 폴더 생성
==== 윈도우 ====
===== [[openssl]] =====
===== puttygen =====
puttygen에서 conversions-> import key
저장한 공개키로 ssh에 로그인하려면 base64 인코딩된 부분만 엔터를 지우고 .ssh/authorized_keys 에 추가한다.
= 설정파일 =
/etc/ssh/sshd_config<syntaxhighlight lang="apacheconf">
# 패스워드 인증허용여부
</syntaxhighlight>
= 에러 메시지 =
=== Warning: Permanently added the ECDSA host key for IP address ===
ip 변경으로 중간자 공격'에 대해 경고
$ ssh-keygen -R [호스트명]
[[분류:Linux]]
편집
2,431