Search the web
Sign In
New User? Sign Up
hackingthemediavault · Hacking The HP MediaVault
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Message search is now enhanced, find messages faster. Take it for a spin.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
ssh (dropbear) authentication   Message List  
Reply | Forward Message #92 of 986 |
I installed dropbear using ipkg and it seems to be running fine
(thanks Chris/Lee!). The problem is the authentication: I can't
login. I try to login as user root, admin, and no user with any
password I could think of (including no password) but I keep getting
access denied. I listed the output from both client and server below.

How to setup the user/password for ssh login?

Thanks,
Iztok

PS Here is the output from dropbear:
JRUN/# dropbear -F -E
[1266] Mar 16 14:20:25 Not backgrounding
[1267] Mar 16 14:20:40 Child connection from 192.168.1.104:4906
[1267] Mar 16 14:20:54 bad password attempt for 'root' from
192.168.1.104:4906

Here is the output from the putty side (192.168.1.104):
login as: root
root@hpmediavault's password:
Access denied



Re: [HPMediaVault] Re: You guys DO know that the IPKG method was
released, right?

Sure does...

I don't have any instructions that I wrote, but look on the web for
"drop bear".
That is the packages name, drop bear.
To install it,
# ipkg install drop bear

Chris Seto

====
Chris S. Seto
Owner of hackingthehpmediavault
====



lubimkas wrote:
>
> Cool. Does it mean I can run SSH on mediavault now?
> What I'm looking for is a combination of SSH/DynDNS/Wake On LAN to
> access my home network remotely. Instructions on how to set it up
> would be really appreciated.




Sun Mar 16, 2008 2:31 pm

iztokm
Offline Offline
Send Email Send Email

Forward
Message #92 of 986 |
Expand Messages Author Sort by Date

I installed dropbear using ipkg and it seems to be running fine (thanks Chris/Lee!). The problem is the authentication: I can't login. I try to login as user...
iztokm
Offline Send Email
Mar 16, 2008
2:31 pm

For starters, you are using PuTTY Gen to make a public/private key set, right? Chris Seto ==== Chris S. Seto Owner of hackingthehpmediavault ====...
Chris S.
aximbigfan
Offline Send Email
Mar 16, 2008
3:31 pm

I used dropbearkey to make the keys: JRUN/etc/dropbear# dropbearkey -t rsa -f dropbear_rsa_host_key JRUN/etc/dropbear# dropbearkey -t dss -f...
iztokm
Offline Send Email
Mar 16, 2008
4:05 pm

I have never had to set up SSH manually, so I really can't help you much beyond that. Have you tried looking for a tutorial? Chris Seto ==== Chris S. Seto ...
Chris S.
aximbigfan
Offline Send Email
Mar 16, 2008
4:50 pm

I read the README files and looked at the dropbear website (which was not that useful). But as far as I can tell, dropbear is running and trying to...
iztokm
Offline Send Email
Mar 16, 2008
11:33 pm

In a nutshell, you create 2 keys, public, and private. This key set is what SSH uses to auth. PuTTY Gen may be used to create key pars. I havn' set up SSH...
Chris S.
aximbigfan
Offline Send Email
Mar 17, 2008
12:39 am

I see. You are not using password authentication. You need a key on both the server and client. I was hoping to be able to authenticate with a password. ...
iztokm
Offline Send Email
Mar 18, 2008
1:13 am

You can, but I'm not exactly sure how. Chris ==== Chris Seto Admin of hackingthemediavault ====...
Chris S.
aximbigfan
Offline Send Email
Mar 18, 2008
1:19 am

Well, I used Putty Gen to create the public/private keys. I then created a ../jrun/root/.ssh/authorized_keys and put the public key in this file and added...
iztokm
Offline Send Email
Mar 19, 2008
2:33 pm

Take a look here. http://www.nslu2-linux.org/wiki/HowTo/UseDropBearForRemoteAccess I used that very guide many years ago with my NSLU2, which has now been ...
Chris S.
aximbigfan
Offline Send Email
Mar 19, 2008
3:39 pm

... My guess is that the root password inside jrun is different from that outside. Set up your root password by running "passwd" at the jrun prompt. ...
Geraldine Goh
gerrie_goh
Offline Send Email
Mar 25, 2008
9:18 pm

That worked! Thank you. Iztok...
iztokm
Offline Send Email
Mar 28, 2008
5:00 am
Advanced

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help