AWS

AWS EC2 ์ธ์Šคํ„ด์Šค Putty ํ™œ์šฉํ•ด์„œ ์„œ๋ฒ„ ์ ‘์†

martinooo 2022. 11. 16. 10:26

๐Ÿคณ Putty๋ฅผ ํ™œ์šฉํ•ด์„œ EC2 ์ธ์Šคํ„ด์Šค ์ ‘์†.

๋กœ๋“œ๋ฅผ ํด๋ฆญํ•ด์„œ ์ €์žฅํ•œ EC2 pem ํŒŒ์ผ์„ ๋ถˆ๋Ÿฌ์˜จ๋‹ค.

 

puttygen๋ฅผ ํ™œ์šฉํ•ด์„œ EC2 ์ธ์Šคํ„ด์Šค ์ƒ์„ฑ์‹œ ๋ฐ›์€ ํ‚คํŽ˜์–ด pem ํŒŒ์ผ์„ ppk ํŒŒ์ผ๋กœ ๋ณ€ํ™˜์„ ํ•ด์ค˜์•ผ 
์œˆ๋„์šฐ์—์„œ EC2 ์ธ์Šคํ„ด์Šค์— ์ ‘์†์ด ๊ฐ€๋Šฅํ•˜๋‹ค.

ํ˜น์‹œ๋‚˜ pem ํŒŒ์ผ์ด ์•ˆ๋ณด์ธ๋‹ค๋ฉด ์˜ต์…˜์„ ๋ณ€๊ฒฝ
Load์— ํŒŒ์ผ์„ ์ฒจ๋ถ€ ํ›„ Save Private Key ํด๋ฆญ ํ•˜๊ณ  PPK ํŒŒ์ผ์„ ์ €์žฅ

Key passphrase ๋ณด์•ˆ์„ ๋†’์ด๊ธฐ ์œ„ํ•ด ์•”ํ˜ธ์ž…๋ ฅ! EC2 ์ธ์Šคํ„ด์Šค ํ„ฐ๋ฏธ๋„ ์ ‘์†์‹œ ํ•„์š”ํ•ฉ๋‹ˆ๋‹ค.

PPKํŒŒ์ผ ์ƒ์„ฑํ›„ Putty ์ ‘์† ec-user@{๋‚˜์˜ EC2 Public IP} ์ž…๋ ฅ
Auth ํด๋ฆญํ›„ ๋ณ€ํ™˜ํ•œ PPK ํŒŒ์ผ์„ ์ฒจ๋ถ€ ํ›„ Open ํด๋ฆญ!
EC2 ์ธํ„ฐํ„ด์Šค ์—ฐ๊ฒฐ ์•„๊นŒ Puttygen์—์„œ ์„ค์ •ํ•œ ์•”ํ˜ธ๋ฅผ ์ž…๋ ฅ
์ ‘์† ์„ฑ๊ณต sudo su ๋ช…๋ น์–ด ์ž…๋ ฅํ•ด์„œ ๋ฃจํŠธ๊ถŒํ•œ์„ ๋ถ€์—ฌ!

 

'AWS' ์นดํ…Œ๊ณ ๋ฆฌ์˜ ๋‹ค๋ฅธ ๊ธ€

AWS Elastic Beanstalk  (9) 2023.01.05
Aws workshop  (5) 2022.11.22
AWS CodePipeLine & Elastic Beanstalk CI/CD  (15) 2022.11.01
Aws cloud practitioner ํ•ฉ๊ฒฉํ›„๊ธฐ  (1) 2022.10.21
AWSAWS Cloud Practitioner ์ž๊ฒฉ์ฆ ๊ณต๋ถ€  (2) 2022.10.13