[Raspberry Pi 4] SSH ๋ฐ PuTTY๋ฅผ ํ†ตํ•œ ์›๊ฒฉ ํ„ฐ๋ฏธ๋„ ์ ‘๊ทผ ๋ฐฉ๋ฒ•

2024. 9. 22. 03:59ใ†Computer Info./๐Ÿ“Ÿ Raspberry Pi

๋ผ์ฆˆ๋ฒ ๋ฆฌํŒŒ์ด๋ฅผ ์กฐ์ž‘ํ•˜๊ธฐ์œ„ํ•ด ๋งค๋ฒˆ ๋ชจ๋‹ˆํ„ฐ๋ฅผ ์—ฐ๊ฒฐํ•˜๊ธฐ์—๋Š” ๋ถˆํŽธํ•˜๋‹ค. ๊ทธ๋ž˜์„œ PuTTY๋กœ ์›๊ฒฉ ์กฐ์ž‘์„ ํ•˜๋Š” ๋ฐฉ๋ฒ•์„ ๊ธฐ์ˆ ํ•œ๋‹ค.

์ด ๋ฐฉ๋ฒ•์€ ๊ฐ™์€ ๋„คํŠธ์›Œํฌ์— ์ ‘์†ํ•˜๊ณ  ์žˆ๋Š” ์ƒํƒœ์—ฌ์•ผ ๊ฐ€๋Šฅํ•˜๋‹ค.

 

1. Install PuTTY

https://www.putty.org/

 

Download PuTTY - a free SSH and telnet client for Windows

Is Bitvise affiliated with PuTTY? Bitvise is not affiliated with PuTTY. We develop our SSH Server for Windows, which is compatible with PuTTY. Many PuTTY users are therefore our users as well. From time to time, they need to find the PuTTY download link. W

www.putty.org

 

์œ„์˜ ์‚ฌ์ดํŠธ์—์„œ PuTTY๋ฅผ ๋ฐ›์•„ ์„ค์น˜ํ•œ๋‹ค.

 

2. Setup Raspberry Pi

sudo raspi-config

 

์ œ์ผ ๋จผ์ € ๋ผ์ฆˆ๋ฒ ๋ฆฌํŒŒ์ด์˜ Config๋ฅผ ์—ฐ๋‹ค. ์œ„์˜ ๋ช…๋ น์–ด๋ฅผ ์ปค๋งจ๋“œ์ฐฝ์— ์ž…๋ ฅํ•œ๋‹ค.

 

์ด ํ™”๋ฉด์ด ๋‚˜์˜จ๋‹ค๋ฉด ๋ฌด์‚ฌํžˆ Config๋ฅผ ์—ด์—ˆ๋‹ค !

 

Select `3 Interface Options`

 

Select `I1 SSH1

 

<Yes>

 

<Ok>

 

์ด๋ ‡๊ฒŒํ•˜๋ฉด SSH ์„ค์ •์€ ๋๋‚œ๋‹ค.

 

3. ifconfig

ifconfig

 

์ด์ œ๋Š” ๋ผ์ฆˆ๋ฒ ๋ฆฌํŒŒ์ด์˜ ์ปค๋งจ๋“œ์ฐฝ์— ์œ„์˜ ๋ช…๋ น์–ด๋ฅผ ์ž…๋ ฅํ•œ๋‹ค. ๊ทธ๋ฆฌ๊ณ  IP ์ฃผ์†Œ๋ฅผ ๋ฉ”๋ชจํ•œ๋‹ค.

 

4. Setup PuTTY

PuTTY์˜ ์„ธํŒ…์€ ์œ„์˜ ์บก์ณ ๊ทธ๋ฆผ๊ณผ ๋™์ผํ•˜๊ฒŒ ํ•œ๋‹ค.

IP address์—๋Š” ๋ฐฉ๊ธˆ ๋ฉ”๋ชจํ•œ IP๋ฅผ ์ž…๋ ฅํ•˜๋ฉด ๋œ๋‹ค.

Port๋Š” 22๋ฅผ ์ž…๋ ฅํ•œ๋‹ค.

Connection type์—๋Š” SSH๋ฅผ ์„ ํƒํ•œ๋‹ค.

 

์ดํ›„ Open ๋ฒ„ํŠผ์„ ํด๋ฆญํ•˜๋ฉด ๋ผ์ฆˆ๋ฒ ๋ฆฌํŒŒ์ด์— ์›๊ฒฉ์œผ๋กœ ์ ‘์†์„ ์‹œ๋„ํ•œ๋‹ค.

 

5. How to run

์„ฑ๊ณต์ ์œผ๋กœ ์ ‘์†ํ•œ ๋ชจ์Šต์ด๋‹ค.

 

์ ‘์†์ด ๋˜์—ˆ๋‹ค๋ฉด ์ œ์ผ ๋จผ์ € ID, PW๋ฅผ ์ž…๋ ฅํ•œ๋‹ค. ๋กœ๊ทธ์ธ์— ์„ฑ๊ณตํ•œ๋‹ค๋ฉด ์œ„์˜ ์‚ฌ์ง„๊ณผ ๊ฐ™์€ ๋ชจ์Šต์ด ๋‚˜์˜จ๋‹ค. ์ดํ›„ ํ„ฐ๋ฏธ๋„๋กœ ์กฐ์ž‘ํ•˜๋ฉด ๋ถˆํŽธํ•˜๊ฒŒ ์ผ์ผ์ด ๋ชจ๋‹ˆํ„ฐ์— ์ผ€์ด๋ธ”์„ ์—ฐ๊ฒฐํ•˜๋Š” ์ž‘์—…์„ ์ƒ๋žตํ•  ์ˆ˜ ์žˆ๋‹ค.

'Computer Info. > ๐Ÿ“Ÿ Raspberry Pi' ์นดํ…Œ๊ณ ๋ฆฌ์˜ ๋‹ค๋ฅธ ๊ธ€