ViktorOgnev
9/29/2015 - 8:23 AM

Configure fresshd on windows host to work with pubkey auth

Configure fresshd on windows host to work with pubkey auth

[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