ts-7000
[Top] [All Lists]

Re: [ts-7000] Remote login without password....

To:
Subject: Re: [ts-7000] Remote login without password....
From: Jim Jackson <>
Date: Sat, 11 Mar 2006 22:54:54 +0000 (GMT)
> > 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/
 


<Prev in Thread] Current Thread [Next in Thread>
Admin

Disclaimer: Neither Andrew Taylor nor the University of NSW School of Computer and Engineering take any responsibility for the contents of this archive. It is purely a compilation of material sent by many people to the birding-aus mailing list. It has not been checked for accuracy nor its content verified in any way. If you wish to get material removed from the archive or have other queries about the archive e-mail Andrew Taylor at this address: andrewt@cse.unsw.EDU.AU