SSHD+ putty
Добавлено: 2006-12-07 13:09:44
Помогите плиз FREEBSDведы
Freebsd 6.1
делаю связку windows + ssh +freebsd
по статье http://www.lissyara.su/?id=1186
вот кофиг sshd
******************************************************************
Port 1022
Protocol 2
HostKey /etc/ssh/ssh_host_key
HostKey /etc/ssh/ssh_host_dsa_key
SyslogFacility AUTH
LogLevel DEBUG
LoginGraceTime 120
PermitRootLogin no
StrictModes yes
DSAAuthentication yes
PubkeyAuthentication yes
AuthorizedKeysFile ~/.ssh/authorized_keys
RhostsRSAAuthentication no
HostbasedAuthentication no
PasswordAuthentication no
X11Forwarding yes
X11DisplayOffset 10
X11UseLocalhost yes
KeepAlive yes
UsePrivilegeSeparation yes
Compression yes
PidFile /var/run/sshd.pid
Subsystem sftp /usr/libexec/sftp-server
AllowGroups wheel
AllowUsers XXXXXXXXX
MaxStartups 5:50:10
KeyRegenerationInterval 3600
ServerKeyBits 1024
GatewayPorts no
AllowTcpForwarding yes
IgnoreRhosts yes
IgnoreUserKnownHosts no
PrintMotd no
RSAAuthentication no
PermitEmptyPasswords no
******************************************************************
вхожу как пользователь XXXXXX
так как root напрямую запрещен
в каталоге /home/XXXXX/.ssh/ лежит публичный ключ authorized_keys
при входе через идет показ имени пользователя XXXXXX
и окно putty закрывется
в логах putty
Using username "XXXXX".
No supported authentication methods left to try!
подскажите куда копать?
Freebsd 6.1
делаю связку windows + ssh +freebsd
по статье http://www.lissyara.su/?id=1186
вот кофиг sshd
******************************************************************
Port 1022
Protocol 2
HostKey /etc/ssh/ssh_host_key
HostKey /etc/ssh/ssh_host_dsa_key
SyslogFacility AUTH
LogLevel DEBUG
LoginGraceTime 120
PermitRootLogin no
StrictModes yes
DSAAuthentication yes
PubkeyAuthentication yes
AuthorizedKeysFile ~/.ssh/authorized_keys
RhostsRSAAuthentication no
HostbasedAuthentication no
PasswordAuthentication no
X11Forwarding yes
X11DisplayOffset 10
X11UseLocalhost yes
KeepAlive yes
UsePrivilegeSeparation yes
Compression yes
PidFile /var/run/sshd.pid
Subsystem sftp /usr/libexec/sftp-server
AllowGroups wheel
AllowUsers XXXXXXXXX
MaxStartups 5:50:10
KeyRegenerationInterval 3600
ServerKeyBits 1024
GatewayPorts no
AllowTcpForwarding yes
IgnoreRhosts yes
IgnoreUserKnownHosts no
PrintMotd no
RSAAuthentication no
PermitEmptyPasswords no
******************************************************************
вхожу как пользователь XXXXXX
так как root напрямую запрещен
в каталоге /home/XXXXX/.ssh/ лежит публичный ключ authorized_keys
при входе через идет показ имени пользователя XXXXXX
и окно putty закрывется
в логах putty
Using username "XXXXX".
No supported authentication methods left to try!
подскажите куда копать?