http://glipho.com/janaka/how-to-configure-freesshd-on-windows-2012-and-connect-with-putty
FreeSSHD ÀÎÁõÅ° ¹æ½Ä
freeSSHD Server OS : Windows 2012 R2
Client Server OS : CentOS 6.X x86_64
1) Download
freeSSHD.exe Version 1.2.6
2) ¼³Ä¡
Default ... Ŭ¸¯Å¬¸¯....
3) ¼ºñ½º ½ÃÀÛ
FreeSSHDService
4) 22¹ø Æ÷Æ® È®ÀÎ
> netstat -an |more
5) À¯Àú»ý¼º ¹× Public key ¼³Á¤
public key folder È®ÀÎÇÏ°í ÇØ´çÀ§Ä¡¿¡ Á¢¼Ó À¯Àú¸íÀ¸·Î ÆÄÀÏ»ý¼º
Authentication tab
Pub key folder = C:\Program Files (x86)\freeSSHd\keys
Password auth = disabled
Pub key auth = required
¡Ø ÁÖÀÇ»çÇ×
¸Þ¸ðÀåÀ¸·Î public key ¸¸µé¶§... È®ÀåÀÚ°¡ .txt °¡ ºÙ°ÔµÇ´Âµ¥... È®ÀåÀÚ¸í ¾øÀÌ ÆÄÀÏ»ý¼º
6) FreeSSHD Àç½ÃÀÛ
7) LINUX --> Windows (freeSSHD) Á¢¼Ó
# ssh -o ConnectTimeOut=10 -o Port='22' -o IdentityFile=/usr/local/L4-service/key/'id_rsa' -o GSSAPIAuthentication=no -o PasswordAuthentication=no -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -o LogLevel=ERROR 'XXX'@'192.168.XXX.XXX' ifconfig
¡Ø À©µµ¿ì ¹æȺ®À» »ç¿ëÁßÀ̰ųª ¾Õ´Ü¿¡ ´Ù¸¥ ¹æȺ®ÀÌ ÀÖ´Ù¸é ÇØ´ç SSH Æ÷Æ®µµ ¿ÀÇÂ!!
Ãß°¡) ¹Ýµå½Ã freeSSHd settings ¿¡¼ Server statusÅÇ¿¡ SSH server »óÅ´ server is running ÀÌ µÇ¾î¾ß ÇÑ´Ù.
cmd¿¡¼ 22¹ø Æ÷Æ®°¡ LISTEN µÇ¾îÀ־ not running »óŶó¸é ssh Æ÷Æ®±îÁö ¿·ÁÀÖ´Â°Ç È®Àεdzª freesshd setting Àº ÀüÇô ÀÛµ¿ÇÏÁö ¾Ê´Â´Ù.
µû¶ó¼....ÀÌ·¯ÇÑ °æ¿ì¶ó¸é ¼¹ö³» ¼ºñ½º·Î µé¾î°¡ FreeSSHDService ¼ºñ½º¸¦ ÁßÁö(ȤÀº ½ÃÀÛÀ¯Çü ¼öµ¿)½ÃÅ°°í freeSSHd setting¿¡ Server status ¸¦ ½ÇÇàÇÏ¸é µÈ´Ù.