You can clone with
Create session using blackberry-connect, this tool resides inside your SDK dirs, the host dir i.e
$ blackberry-connect 169.254.0.1 -password <password> -sshPublicKey ~/.ssh/bb10/id_rsa
create a config file inside ~/.ssh folder
$ ssh bb10
can you help me about my problem?
Rischans-MacBook:bin macintosh$ ./blackberry-connect 169.254.0.1 -password rischan -sshPublicKey /Users/macintosh/.ssh/id_rsa.pub
Info: Connecting to target 169.254.0.1:4455
Info: Authenticating with target 169.254.0.1:4455
Info: Encryption parameters verified
Info: Authenticating with target credentials.
Info: Successfully authenticated with target credentials.
Info: Sending ssh key to target 169.254.0.1:4455
Error: Connection refused: Provided ssh key is too small (4096-bit minimum).
Error: Unable to send ssh key to target
solved => use -b 4096
ex : ssh-keygen -t rsa -C "firstname.lastname@example.org" -b 4096
You can generate the keys with putty as well, while keeping the same key length, that is 4096. A detailed guide is available here: http://www.pocketmagic.net/2013/07/ssh-to-the-blackberry-z10-guide/
Just an alternative in case anyone needs it.
I think that the command should be:
blackberry-connect 169.254.0.1 -password -sshPublicKey ~/.ssh/bb10/id_rsa.pub
blackberry-connect 169.254.0.1 -password -sshPublicKey ~/.ssh/bb10/id_rsa
Since you need to send the public key to the device, but the local machine should use the private key