ssh - Gakgu/Gakgu.github.io GitHub Wiki

๊ฐœ์š”

Secure Shell์˜ ์•ฝ์ž๋กœ ์›๊ฒฉ์œผ๋กœ ๋‹ค๋ฅธ ์ปดํ“จํ„ฐ์— ์ ‘์†ํ•  ์ˆ˜ ์žˆ๊ฒŒ ํ•ด์ฃผ๋Š” ํ”„๋กœ๊ทธ๋žจ์ด๋‹ค.

ssh server

์„œ๋น„์Šค ํ™œ์„ฑํ™”

$ systemctl start sshd.service
$ systemctl enable sshd.service

GUI ํ—ˆ์šฉ

/etc/sshd/sshd_config ์— ๋‹ค์Œ๊ณผ ๊ฐ™์€ ๋‚ด์šฉ ์ถ”๊ฐ€ ํ˜น์€ ์ฃผ์„ ์ œ๊ฑฐ

X11Forwarding yes

ssh client

openssh

ssh -p -X 22 [email protected]

iPuTTY

putty๋ž€ ์œˆ๋„์šฐ์šฉ ssh ํด๋ผ์ด์–ธํŠธ ํ”„๋กœ๊ทธ๋žจ์ด๋‹ค.

  1. xming ์„ค์น˜ ๋ฐ ์‹คํ–‰(์„ ํƒ)
  2. Connection - SSH- X11 ์—์„œ X11forwarding ์ฒดํฌ X display location์— localhost:0.0 ์ž…๋ ฅ

๊ธฐํƒ€ ์‚ฌ์šฉ๋ฒ•