Страница 1 из 1

SSHD+ putty

Добавлено: 2006-12-07 13:09:44
santinorostov
Помогите плиз 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!

подскажите куда копать?

Добавлено: 2006-12-09 14:52:33
maniac
ну судя по всему косяк в настройках самой putty, а точнее чтото ты намудрил/либо неправильно выставил параметры шифрования/аутентификации в putty

Добавлено: 2006-12-09 19:23:25
wizard
maniac писал(а):ну судя по всему косяк в настройках самой putty, а точнее чтото ты намудрил/либо неправильно выставил параметры шифрования/аутентификации в putty
Обсолюно не правда!!!!
Берёшь пабликовсий ключь сгенериный putty и кладешь его оброзно в файл key далее набираешь

Код: Выделить всё

ssh-keygen -f key -i >> .ssh/authorized_keys
и получешь удовольствие :)