Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
modularpi:remotssh:index [2026/02/14 23:35] adminmodularpi:remotssh:index [2026/02/15 20:24] (current) admin
Line 16: Line 16:
   * ssh 접속시 Modular Pi의 password가 막혀있는 상태라면 다음과 같이 설정을 변경해야 합니다.   * ssh 접속시 Modular Pi의 password가 막혀있는 상태라면 다음과 같이 설정을 변경해야 합니다.
   * **''sudo nano /etc/ssh/sshd_config''** 파일을 열어 다음과 같이 수정합니다.**''PasswordAuthentication yes''**   * **''sudo nano /etc/ssh/sshd_config''** 파일을 열어 다음과 같이 수정합니다.**''PasswordAuthentication yes''**
 +
 ===== 2. 공개키(Public Key) 인증 접속  ===== ===== 2. 공개키(Public Key) 인증 접속  =====
-OS를 설치하기 전에, 개발 PC에는 공개키/개인키(Public/Private Key) 쌍이 미리 생성되어 있어야 합니다. [[modularpi:KEYGEN|[공개키/개인키(Public/Private Key) 만들기]]]+ 
 +OS를 설치하기 전에, 개발 PC에는 공개키/개인키(Public/Private Key) 쌍이 미리 생성되어 있어야 합니다. [[:modularpi:KEYGEN:|[공개키/개인키(Public/Private Key) 만들기]]]
  
   * [[https://www.raspberrypi.com/software/|"Raspberry Pi Imager"]] 를 사용하여 Raspberry Pi OS를 설치할 때, **''SSH 사용 → 공개키 인증만 허용''** 옵션을 선택해야 합니다.\\   * [[https://www.raspberrypi.com/software/|"Raspberry Pi Imager"]] 를 사용하여 Raspberry Pi OS를 설치할 때, **''SSH 사용 → 공개키 인증만 허용''** 옵션을 선택해야 합니다.\\
Line 29: Line 31:
 다음 명령어를 이용하여 개발 PC(Windows Pc)와 모듈라 Pi(Linux Pc)간의 ssh접속 인증을 확인할 수 있습니다. 다음 명령어를 이용하여 개발 PC(Windows Pc)와 모듈라 Pi(Linux Pc)간의 ssh접속 인증을 확인할 수 있습니다.
   * ssh <계정이름>@<모듈라Pi의 ip주소> → ''ssh pi@192.168.0.10''   * ssh <계정이름>@<모듈라Pi의 ip주소> → ''ssh pi@192.168.0.10''
-{{ :cfnet:remoteprogramming:test_ssh.mp4?900x506 |}}+ 
 +{{ :modularpi:remotssh:test_ssh.mp4?900x506  |}}
  
  
Line 45: Line 48:
   * **''cat ~/id_rsa.pub >> ~/.ssh/authorized_keys''**   * **''cat ~/id_rsa.pub >> ~/.ssh/authorized_keys''**
   * **''chmod 700 ~/.ssh/authorized_keys''**   * **''chmod 700 ~/.ssh/authorized_keys''**
-{{ :modularpi:ssh키등록.png?nolink |}} +{{ :modularpi:remotssh:ssh82.png?nolink |}}
 [[..:index|Modular Pi (산업용 모듈형 라즈베리 파이)]] [[..:index|Modular Pi (산업용 모듈형 라즈베리 파이)]]