주 메뉴 열기

wwiki β

바뀜

SSH

930 바이트 추가됨, 2019년 4월 20일 (토) 03:15
편집 요약 없음
== 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 에디터로 열어서 -----BEGIN RSA PRIVATE KEY----- 윗부분은 삭제해야 제대로 로딩된다. 공개키 저장 save public key 저장한 공개키로 ssh에 로그인하려면 base64 인코딩된 부분만 엔터를 지우고 .ssh/authorized_keys 에 추가한다. = 설정파일 =/etc/ssh/sshd_config<syntaxhighlight lang="apacheconf"># 패스워드 인증허용여부 PasswordAuthentication no</syntaxhighlight> = 에러 메시지 = === Warning: Permanently added the ECDSA host key for IP address ===ip 변경으로 중간자 공격'에 대해 경고 $ ssh-keygen -R [호스트명]
[[분류:Linux]]
편집
2,431