Очень хочется организовать ssh доступ к 3200 и 3028 через php-скрипты.
Для начала попробовал сделать беспарольный доступ.
Поиск по форуму дал
viewtopic.php?t=42493
viewtopic.php?t=50088
Но помогло это не сильно.
Как я вижу, авторизация проходит успешно, но приглашение на ввод логина все равно возникает.
Вопрос такой. Я делаю что-то не так, или нужно пользоваться другими методами?
ssh -l ssh 192.168.196.153 -i ./.ssh/id_rsa -v
OpenSSH_3.8p1, SSH protocols 1.5/2.0, OpenSSL 0.9.7d 17 Mar 2004
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: Applying options for *
debug1: Connecting to 192.168.196.153 [192.168.196.153] port 22.
debug1: Connection established.
debug1: identity file ./.ssh/id_rsa type 1
debug1: Remote protocol version 2.0, remote software version DLINK Corp. SSH server ver 1.00.000
debug1: no match: DLINK Corp. SSH server ver 1.00.000
debug1: Enabling compatibility mode for protocol 2.0
debug1: Local version string SSH-2.0-OpenSSH_3.8p1
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 '192.168.196.153' is known and matches the RSA host key.
debug1: Found key in /home/ssh/.ssh/known_hosts:1
debug1: ssh_rsa_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
debug1: Next authentication method: publickey
debug1: Offering public key: ./.ssh/id_rsa
debug1: Server accepts key: pkalg ssh-rsa blen 149
debug1: read PEM private key done: type RSA
debug1: Authentication succeeded (publickey).
debug1: channel 0: new [client-session]
debug1: Entering interactive session.
DGS-3200-10 Gigabit Ethernet Switch
Command Line Interface
Firmware: Build 1.00.B015
Copyright(C) 2007 D-Link Corporation. All rights reserved.
UserName: