Difference between revisions of "Dropbear"

From RidgeRun Developer Connection
Jump to: navigation, search
Line 1: Line 1:
===Enabling dropbear===
+
==Enabling dropbear==
  
==How to enable Dropbear server==
+
===How to enable Dropbear server===
  
  
Line 21: Line 21:
 
  [*]  Enable scp
 
  [*]  Enable scp
  
==Commands to use ssh==
+
===Commands to use ssh===
  
 
  $ dbclient user@host  
 
  $ dbclient user@host  
  
==Commands to use scp==
+
===Commands to use scp===
  
 
  $ scp <file> user@host:/<location>
 
  $ scp <file> user@host:/<location>
Line 31: Line 31:
  
  
===Setting keys to get ssh connections without password requests===
+
==Setting keys to get ssh connections without password requests==
  
  
  
  
==How to get public and private keys of Dropbear in the target==
+
===How to get public and private keys of Dropbear in the target===
  
  
==How to set public key of Dropbear in the host==
+
===How to set public key of Dropbear in the host===
  
  
==How to get public and private keys of OpenSSH in the host==
+
===How to get public and private keys of OpenSSH in the host===
  
  
==How to set public key of OpenSSH in the target==
+
===How to set public key of OpenSSH in the target===
  
  
==Commands to use ssh==
+
===Commands to use ssh===
  
 
  $ dbclient user@host -i /etc/dropbear/dropbear_rsa_host_key
 
  $ dbclient user@host -i /etc/dropbear/dropbear_rsa_host_key
  
==Commands to use scp==
+
===Commands to use scp===
  
 
  $ scp <file> user@host:/<location> -i /etc/dropbear/dropbear_rsa_host_key
 
  $ scp <file> user@host:/<location> -i /etc/dropbear/dropbear_rsa_host_key

Revision as of 10:29, 18 May 2010

Enabling dropbear

How to enable Dropbear server

1-Open sdk configuration system

$ make config

2- Enable Dropbear server:

-> File System Configuration
  -> Select target's file system software 
    [*] dropbear-0.52 (SSH Server)

3- When you check Dropbear server, you can enable scp and ssh

-*- dropbear-0.52 (SSH Server)
[*]   Enable dbclient (SSH Client)
[*]   Enable scp

Commands to use ssh

$ dbclient user@host 

Commands to use scp

$ scp <file> user@host:/<location>


Setting keys to get ssh connections without password requests

How to get public and private keys of Dropbear in the target

How to set public key of Dropbear in the host

How to get public and private keys of OpenSSH in the host

How to set public key of OpenSSH in the target

Commands to use ssh

$ dbclient user@host -i /etc/dropbear/dropbear_rsa_host_key

Commands to use scp

$ scp <file> user@host:/<location> -i /etc/dropbear/dropbear_rsa_host_key