ts-7000
[Top] [All Lists]

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

To:
Subject: [ts-7000] Re: Remote login without password....
From: "chentom60" <>
Date: Sun, 12 Mar 2006 07:56:58 -0000
Thanks Jim,

You are always a good helper. I followed your instruction and please
see my comment below.

Tom

> 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 
> 


Are you in root mode on host PC or do you have a "jj" account in the
board?


> 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.
> 

Perhaps you forgot to mention that you used someway to copy the
authorized_keys to the board. 
I googled ssh on the web and found that this is a must. Otherwise,
remote host could not be recognized. Where did you save the public key
on the board?

http://kimmo.suominen.com/docs/ssh/ is a good how-to tutorial.

>From root mode, I tried to use "$ scp authorized_keys
". Though I did not get any error msg, the
authorized_keys could not be copied by scp. 

Finally I had to use NFS to copy to board. Now, I can login in to
board without password. But I have to use root mode on host PC.
I have tried a lot tonight, scp still does not work. 

> 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