darinschmidt
Cadet
- Joined
- Aug 11, 2012
- Messages
- 9
Im trying to use FreeNAS to ssh to my ddwrt router. Everything seems to go well till the end where i always get permission denied. I have also posted this on DDWRT because i think its something with the router and not freenas but wanted to check.
This is what i get when i try to log into the router from FreeNAS.
With DDWRT you can choose to enable or disable password authentication. The user on the router is the same as the user on FreeNAS. A friend of mine mentioned checkign the netmask on both system, i'll do that when i get home after work today.
OpenSSH_5.4p1_hpn13v11 FreeBSD-20100308, OpenSSL 0.9.8q 2 Dec 2010
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: Connecting to 192.168.2.1 [192.168.2.1] port 22.
debug1: Connection established.
debug1: identity file /mnt/Mass/Home/darin/.ssh/id_rsa type 1
debug1: identity file /mnt/Mass/Home/darin/.ssh/id_rsa-cert type -1
debug1: identity file /mnt/Mass/Home/darin/.ssh/id_dsa type 2
debug1: identity file /mnt/Mass/Home/darin/.ssh/id_dsa-cert type -1
debug1: Remote protocol version 2.0, remote software version dropbear_2012.55
debug1: no match: dropbear_2012.55
debug1: Enabling compatibility mode for protocol 2.0
debug1: Local version string SSH-2.0-OpenSSH_5.4p1_hpn13v11 FreeBSD-20100308
debug1: SSH2_MSG_KEXINIT sent
debug1: SSH2_MSG_KEXINIT received
debug1: kex: server->client aes128-ctr hmac-md5 none
debug1: kex: client->server aes128-ctr hmac-md5 none
debug1: sending SSH2_MSG_KEXDH_INIT
debug1: expecting SSH2_MSG_KEXDH_REPLY
debug1: Host '192.168.2.1' is known and matches the RSA host key.
debug1: Found key in /mnt/Mass/Home/darin/.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: Roaming not allowed by server
debug1: SSH2_MSG_SERVICE_REQUEST sent
debug1: SSH2_MSG_SERVICE_ACCEPT received
DD-WRT v24-sp2 std (c) 2012 NewMedia-NET GmbH
Release: 12/31/12 (SVN revision: 20453)
debug1: Authentications that can continue: publickey
debug1: Next authentication method: publickey
debug1: Offering public key: /mnt/Mass/Home/darin/.ssh/id_rsa
debug1: Authentications that can continue: publickey
debug1: Offering public key: /mnt/Mass/Home/darin/.ssh/id_dsa
debug1: Authentications that can continue: publickey
debug1: No more authentication methods to try.
Permission denied (publickey).
If i enable password authentication, i always get permission denied also and it doesnt accept the password i entered.
This is what i get when i try to log into the router from FreeNAS.
With DDWRT you can choose to enable or disable password authentication. The user on the router is the same as the user on FreeNAS. A friend of mine mentioned checkign the netmask on both system, i'll do that when i get home after work today.
OpenSSH_5.4p1_hpn13v11 FreeBSD-20100308, OpenSSL 0.9.8q 2 Dec 2010
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: Connecting to 192.168.2.1 [192.168.2.1] port 22.
debug1: Connection established.
debug1: identity file /mnt/Mass/Home/darin/.ssh/id_rsa type 1
debug1: identity file /mnt/Mass/Home/darin/.ssh/id_rsa-cert type -1
debug1: identity file /mnt/Mass/Home/darin/.ssh/id_dsa type 2
debug1: identity file /mnt/Mass/Home/darin/.ssh/id_dsa-cert type -1
debug1: Remote protocol version 2.0, remote software version dropbear_2012.55
debug1: no match: dropbear_2012.55
debug1: Enabling compatibility mode for protocol 2.0
debug1: Local version string SSH-2.0-OpenSSH_5.4p1_hpn13v11 FreeBSD-20100308
debug1: SSH2_MSG_KEXINIT sent
debug1: SSH2_MSG_KEXINIT received
debug1: kex: server->client aes128-ctr hmac-md5 none
debug1: kex: client->server aes128-ctr hmac-md5 none
debug1: sending SSH2_MSG_KEXDH_INIT
debug1: expecting SSH2_MSG_KEXDH_REPLY
debug1: Host '192.168.2.1' is known and matches the RSA host key.
debug1: Found key in /mnt/Mass/Home/darin/.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: Roaming not allowed by server
debug1: SSH2_MSG_SERVICE_REQUEST sent
debug1: SSH2_MSG_SERVICE_ACCEPT received
DD-WRT v24-sp2 std (c) 2012 NewMedia-NET GmbH
Release: 12/31/12 (SVN revision: 20453)
debug1: Authentications that can continue: publickey
debug1: Next authentication method: publickey
debug1: Offering public key: /mnt/Mass/Home/darin/.ssh/id_rsa
debug1: Authentications that can continue: publickey
debug1: Offering public key: /mnt/Mass/Home/darin/.ssh/id_dsa
debug1: Authentications that can continue: publickey
debug1: No more authentication methods to try.
Permission denied (publickey).
If i enable password authentication, i always get permission denied also and it doesnt accept the password i entered.