DSM-G600, DNS-3xx and NSA-220 Hack Forum

Unfortunately no one can be told what fun_plug is - you have to see it for yourself.

You are not logged in.

Announcement

#1 2009-01-23 23:27:56

thomaskunze
Member
Registered: 2008-06-03
Posts: 14

SSH client on the box

I'm trying to create a shell script to connect my NAS to my DD-WRT router via SSH in order to execute a remote command (like plink for windows). On my windows-box putty/plink runs just fine with key-authentication.
The NAS (ffp0.5) on the other hand keeps asking for a (not existing) password of my private key:

Code:

root@CH3SNAS:~# ssh -i /trans/wrt54g.private.ppk root@router command
DD-WRT v24 mini (c) 2008 NewMedia-NET GmbH
Release: 07/27/08 (SVN revision: 10011)
Enter passphrase for key '/trans/wrt54g.private.ppk':

What's wrong?

Offline

 

#2 2009-01-24 10:14:36

mastervol
Member
Registered: 2008-09-06
Posts: 81

Re: SSH client on the box

a) does it work if you set the password?
b) the client supports .ppk on the nas?


DNS-323     F/W: 1.06  H/W: ??  ffp: 0.5  Drives (normal mode): 1 x 1,5 TB Seagate SATA II ST31500341AS, 1 x 250 GB Western Digital SATA I

Offline

 

#3 2009-01-24 10:56:53

oxygen
Member
Registered: 2008-03-01
Posts: 320
Website

Re: SSH client on the box

ppk sounds like a putty format key. you have to use standard openssh keys. afair a converter exists.

Offline

 

#4 2009-01-24 13:05:07

thomaskunze
Member
Registered: 2008-06-03
Posts: 14

Re: SSH client on the box

oxygen wrote:

ppk sounds like a putty format key. you have to use standard openssh keys. afair a converter exists.

Exactly. It took me a while to get it sorted on the DD-WRT to connect with public key authentication (for a newbie, these different formats are annoying).
Instead of converting, I generated a new pair on the NAS. It's working now, TY for your hints!

Offline

 

Board footer

Powered by PunBB
© Copyright 2002–2010 PunBB