๋ณธ๋ฌธ ๋ฐ”๋กœ๊ฐ€๊ธฐ
๐Ÿง์šด์˜์ฒด์ œ/Windows

์œˆ๋„์šฐ - ์œˆ๋„์šฐ์— Open SSH Server ์„ค์น˜ํ•˜๊ธฐ(with Chocolatey)

by Janger 2023. 4. 19.
728x90
๋ฐ˜์‘ํ˜•

 

1. Chocolatey ํŒจํ‚ค์ง€ ์„ค์น˜ ๋„๊ตฌ ์„ค์น˜ (ํŒŒ์›Œ์‰˜ + ๊ด€๋ฆฌ์ž ๊ถŒํ•œ)

 

Set-ExecutionPolicy Bypass -Scope Process -Force; [System.Net.ServicePointManager]::SecurityProtocol = [System.Net.ServicePointManager]::SecurityProtocol -bor 3072; iex ((New-Object System.Net.WebClient).DownloadString('https://community.chocolatey.org/install.ps1'))

 

2. openssh ์„ค์น˜

 

choco install openssh -params '"/SSHServerFeature /KeyBasedAuthenticationFeature"'

 
 

3. ์„œ๋น„์Šค ๋“ฑ๋ก

 

powershell.exe -ExecutionPolicy Bypass -File 'C:โ‚ฉProgram Filesโ‚ฉOpenSSH-Win64โ‚ฉinstall-sshd.ps1'

 

4. sshd ์„œ๋น„์Šค ์‹œ์ž‘

 

Start-Service sshd

 
 

5. sshd ์„œ๋น„์Šค ์ž๋™ ์‹คํ–‰ ๋“ฑ๋ก

 

Set-Service sshd -startuptype automatic


 
 
์ถœ์ฒ˜: 
https://devofhwb.tistory.com/98

 

์œˆ๋„์šฐ์— Open SSH ์„ค์น˜ํ•˜๊ธฐ

์œˆ๋„์šฐ์— ๋ฌด๋ฃŒ๋กœ ์‚ฌ์šฉํ•  ์ˆ˜ ์žˆ๋Š” SSH ๋ฅผ ์„ค์น˜ํ•˜๋ ค๊ณ .. ์—ฌ๋Ÿฌ ๋ฐฉ๋ฉด์œผ๋กœ ์ฐพ์•„๋ณด๋‹ค๊ฐ€, ์•„๋ž˜์™€ ๊ฐ™์€ ๋ฐฉ๋ฒ•์„ ์ฐพ์•˜์Šต๋‹ˆ๋‹ค.์ง์ ‘ openssh ๋ฅผ ์„ค์น˜๋„ ํ•  ์ˆ˜ ์ž‡์Šต๋‹ˆ๋‹ค๋งŒ.. ๋ณต์žกํ•˜๊ณ , ์ข€ ๋” ํŽธํ•œ ๋ฐฉ๋ฒ•์„ ์ฐพ์•„๋ณด๊ธฐ

devofhwb.tistory.com

 
https://winscp.net/eng/docs/guide_windows_openssh_server

 

Installing SFTP/SSH Server on Windows using OpenSSH :: WinSCP

Documentation » Using WinSCP » Guides » Other » Installing SFTP/SSH Server on Windows using OpenSSH Microsoft maintains a port of OpenSSH for Windows. You can use the package to set up an SFTP/SSH server on Windows. Installing SFTP/SSH Server On Window

winscp.net

 

728x90
๋ฐ˜์‘ํ˜•