[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Remote commersial SSH issues.



Здравствуйте.

Система - Debian GNU Linux Sarge
Стоял ssh из стейбла 1:3.8.1p1-8.sarge.4 
Сейчас из бэкпортов 1:4.3p2-3~bpo.1 

Открыли мне доступ по ssh. Дали инструкции

1. ssh-keygen2 -t dsa -b 2048
2. В домашней .ssh2 директории создаем файл identification пишем
 строчку: IdKey id_dsa_2048_a
3. На серверe в директории .ssh2 создаем файл authorization пишем
 строку: key     id_dsa_2048_a.pub
4. Закачиваем публичный ключ id_dsa_2048_a.pub в директорию .ssh2 на
сервере

Сделал как сказали. Пробую:
$ ssh -2 -l user -p port -v host

А мне в ответ:

OpenSSH_4.3p2 Debian-3~bpo.1, OpenSSL 0.9.7e 25 Oct 2004
debug1: Reading configuration data /home/roman/.ssh/config
debug1: Applying options for 
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: Applying options for *
debug1: Connecting to host [ip] port .
debug1: Connection established.
debug1: identity file id_dsa_2048_a type 2
debug1: Remote protocol version 2.0, remote software version 3.2.9.1 SSH Secure 
Shell (non-commercial)
debug1: no match: 3.2.9.1 SSH Secure Shell (non-commercial)
debug1: Enabling compatibility mode for protocol 2.0
debug1: Local version string SSH-2.0-OpenSSH_4.3p2 Debian-3~bpo.1
debug1: SSH2_MSG_KEXINIT sent
debug1: SSH2_MSG_KEXINIT received
debug1: kex: server->client aes128-cbc hmac-md5 none
debug1: kex: client->server aes128-cbc hmac-md5 none
debug1: sending SSH2_MSG_KEXDH_INIT
debug1: expecting SSH2_MSG_KEXDH_REPLY
debug1: Host '' is known and matches the DSA host key.
debug1: Found key in /home/roman/.ssh/known_hosts:3
debug1: ssh_dss_verify: signature correct
debug1: SSH2_MSG_NEWKEYS sent
debug1: expecting SSH2_MSG_NEWKEYS
debug1: SSH2_MSG_NEWKEYS received
debug1: SSH2_MSG_SERVICE_REQUEST sent
debug1: SSH2_MSG_SERVICE_ACCEPT received
debug1: Authentications that can continue: publickey,password
debug1: Next authentication method: publickey
debug1: Offering public key: id_dsa_2048_a
debug1: Authentications that can continue: publickey,password
debug1: Next authentication method: password
user@host password: 
Authenticated with partial success.
debug1: Authentications that can continue: publickey
debug1: No more authentication methods to try.
Permission denied (publickey).

В техподдержке мне упорно советовали поставить ssh2, который
коммерческий, как я понимаю.

"Используйте команду ssh2 а не ssh, при необ
ходимости установите её."

После то, как я сказал, что нет у меня такого пакета, мне вот что
посоветовали:

"3. На серверe в директории .ssh2 создаем файл authorization пишем строку: key     id_dsa_2048_a.pub
 4. Закачиваем публичный ключ id_dsa_2048_a.pub в директорию .ssh2 на сервере"

Да и к тому же, после установки ssh из бэкпортов ssh-keygen не хочет
создавать dsa ключи с 2048 битами. 
А ssh-keygen из стейбла создавал.

Я уже на удаленной машине кроме .ssh2 еще и .ssh создал, и все равно
permission denied.

И что мне делать?
ssh2 коммерческий искать?

-- 
Roman
http://blog.romanlagunov.ru	JID: fire_ant@jabber.ru



Reply to: