Documentation:AVR32 Linux Development/SSH daemon

From AVRFreaks Wiki

Jump to: navigation, search

The STK1000 Linux environment includes dropbear, which is a available from http://matt.ucc.asn.au/dropbear/dropbear.html


[edit] Check that the ssh server is running

Ask for process id for dropbear. Any returning number is ok.

~ # pidof dropbear
209

[edit] User and passwords

/etc/passwd contains a list of users and passwords. To create a new user 'root' with password 'roota' do as follows:

~ # passwd root
Enter new password: roota
Re-enter new password: roota
Password changed

[edit] Connect to target using ssh

Find ip address on target

~ # ifconfig | grep 'inet'
inet addr:x.x.x.x ...

Connect from a different machine with an ssh-client

other ~ # ssh root@x.x.x.x

Accept RSA key fingerprint and type password.

Personal tools