Created
          September 29, 2015 08:23 
        
      - 
      
- 
        Save ViktorOgnev/493935a9739dc797b75d to your computer and use it in GitHub Desktop. 
    Configure fresshd on windows host to work with pubkey auth
  
        
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | [Telnet server] | |
| TelnetListenAddress=0.0.0.0 | |
| TelnetListenPort=23 | |
| TelnetMaxConnections=0 | |
| TelnetTimeout=0 | |
| TelnetBanner= | |
| TelnetCMD=C:\Windows\system32\cmd.exe | |
| TelnetRun=0 | |
| TelnetNewConsole=1 | |
| [SSH server] | |
| SSHListenAddress=0.0.0.0 | |
| SSHListenPort=22 | |
| SSHMaxConnections=0 | |
| SSHTimeout=0 | |
| SSHBanner=Hi there | |
| SSHCMD=C:\Windows\system32\WindowsPowerShell\v1.0\powershell.exe | |
| SSHRun=1 | |
| SSHNewConsole=1 | |
| SSHCiphers=0 | |
| SSHMACs=65535 | |
| SSHPasswordAuth=1 | |
| SSHPublickeyAuth=2 | |
| SSHPublickeyPath=C:\root\.ssh\ | |
| RSAKeyPath=C:\root\.ssh\id_rsa | |
| DSAKeyPath=DSAKey.cfg | |
| [SSH tunneling] | |
| SSHLocalTunnel=0 | |
| SSHLocalTunnelOnly=0 | |
| SSHRemoteTunnel=0 | |
| SSHRemoteTunnelOnly=0 | |
| [SFTP] | |
| SFTPHomePath=C:\ | |
| [Access filtering] | |
| HostRestrictions= | |
| HostRestrictionsAllow=0 | |
| [Logging] | |
| LogEvents=1 | |
| LogFilePath=c:\var\log\freesshd.log | |
| LogResolveIP=1 | |
| [Automatic updates] | |
| UpdateCheckOnStartup=1 | |
| UpdateDontPrompt=0 | |
| UpdateShowMessages=1 | |
| UpdateLastMessageID=1 | |
| [Users] | |
| UserCount=1 | |
| [User0] | |
| Name=root | |
| Auth=2 | |
| Shell=1 | |
| SFTP=1 | |
| Tunnel=1 | 
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment