Blackberry Passport

如何透過SSH連線到手機


參考資訊:
1. BlackBerry_Hints_n_Tips

方式如下:

$ ssh-keygen -b 4096 -f ~/.ssh/id_rsa_4096
$ blackberry-connect xxx.xxx.xxx.xxx -password xxx -sshPublicKey ~/.ssh/id_rsa_4096.pub
  Info: Connecting to target xxx.xxx.xxx.xxx:4455
  Info: Authenticating with target xxx.xxx.xxx.xxx:4455
  Info: Encryption parameters verified
  Info: Authenticating with target credentials.
  Info: Successfully authenticated with target credentials.
  Info: Sending ssh key to target xxx.xxx.xxx.xxx:4455
  Info: ssh key successfully transferred.
  Info: Successfully connected. This application must remain running in order to use debug tools. Exiting the application will terminate this connection.

開啟另一個Terminal視窗

$ ssh -i ~/.ssh/id_rsa_4096 devuser@xxx.xxx.xxx.xxx
$ uname -r
  8.0.0

$ pwd
  /accounts/devuser


返回上一頁