> > I went to your homepage and followed your instructions on dropbear. I
> > made a password for "root" and now, I can login from host PC. However,
> > each time i type
> > $ssh to login, the board asks for password.
> > Is it possible to automatically login in without typing password?
Ok I've checked this, and it appears that dropbear supports the same
key authorised access as openssh.
On your client machine (the one you are going to use to ssh to your remote
ts72xx board) you need to create a public/private key pair. Using openssh
this is done e.g. by
$ ssh-keygen -t rsa
Generating public/private rsa key pair.
Enter file in which to save the key (/home/jj/.ssh/id_rsa):
Enter passphrase (empty for no passphrase):
Enter same passphrase again:
Your identification has been saved in /home/jj/.ssh/id_rsa.
Your public key has been saved in /home/jj/.ssh/id_rsa.pub.
The key fingerprint is:
1c:5d:91:47:33:ae:bb:2d:00:74:44:ed:ff:0a:75:b2
Make sure you just press <return> for the passphrase (twice :-).
This creates an unencrypted private key in ~/.ssh/id_rsa so it is
important that you keep this file secret. Make sure the permissions
only allow you to read the file.
It also creates the matching public key in ~/.ssh/id_rsa.pub
The public is just that - public and it doesn't matter who sees this.
You must now copy your public key in the file ~/.ssh/authorized_keys
or, if this file already exists, copy the public key to the end of that
file - there can be many public keys that authorise you access.
you should be able now to remote login without a password, or run commands
remotely without a password.
I believe dropbear also does some port forwarding, and would guess that
this works as per openssh, though I've done no testing.
All the testing I did was for Dropbear sshd v0.44test4
HTH
Jim
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/ts-7000/
<*> To unsubscribe from this group, send an email to:
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
|