How activate/connect with SSH?
For Beta3 release notes say is a new feature ' secure connection: you can now connect to the Tablet using Secure Shell (SSH) and download files from your application using SCP and SFTP.
The simulator of listening on port 22 (the SSH standard) or any other port for SSH connections, with or without active development mode does not have a vanilla installation.
I found the blackberry connect program in the SDK bin folder and tried this after creating a RSA2 key:
c:\>blackberry-connect -targetHost 192.168.7.172 -devicePassword x PROGRESS: Connecting to target 192.168.7.172:4455 PROGRESS: Authenticating with target 192.168.7.172:4455 PROGRESS: Encryption parameters verified PROGRESS: Authenticating with target credentials. PROGRESS: Successfully authenticated with target credentials. PROGRESS: Sending ssh key to target 192.168.7.172:4455 Connection refused: Invalid ssh key contents. The target actively refused the connection. Please ensure that qconnDoor is running on the target. PROGRESS: Unable to send ssh key to target
The fichier.ssh/id_rsa.pub is generated as a SSH-1 using PuttyGen key. I also tried a file SSH-2 RSA with the same results.
The fact that he said that he "succesfully authenticated" it suggests successfully connected... probably using port 443 (https) the way I guess that deploy blackberry is. However, after that he seems to say my key is not valid (not sure, I believe that), but also actively target "connection refused" (I think that... qconn is not listening on port 8000 or another).
Any who have knowledge of this area, or wild guess I can try?
OK, I am able to connect through SSH. It's a little complicated at the moment but I'll simplify and post a recipe as soon as I can.
For anyone technical enough to follow with minimal intervention:
- I generated a 4096-bit RSA key using 'ssh-keygen - b 4096' on a Linux machine, recording in the format 'test_rsa' and 'test_rsa.pub '.
- I transferred those to my Windows box.
- I called "blackberry-connect targetHost - PCMGM - devicePassword x - test_rsa.pub sshPublicKey."
This operation transfers the public key in the device by connecting through qconn (port 4455) using unknown protocols. The output looks like this:
PROGRESS: Connecting to target 192.168.7.172:4455 PROGRESS: Authenticating with target 192.168.7.172:4455 PROGRESS: Encryption parameters verified PROGRESS: Authenticating with target credentials. PROGRESS: Successfully authenticated with target credentials. PROGRESS: Sending ssh key to target 192.168.7.172:4455 PROGRESS: ssh key successfully transfered. PROGRESS: Succesfully Connected
Blackberry connect program continues to run, and as long as it is running at this point the Simulator will be listening for SSH connections on port 22.
At this point, I had to take the test_rsa (the private key) file and import it into Puttygen using Conversions-> import menu button. Save the private key, and load the key in the pageant.
Finally, normally connect using PuTTY at the address PCMGM and sign in as "devuser". This was discovered by looking in the /accounts folder using a primitive file browser application, where I found two subfolders, 1000 / and devuser.
Tags: BlackBerry Developers
Similar Questions
-
How to connect with ssh to esx console
Hello
I've read several times that you can connect via SSH, but I can not connect. I used Putty and Filezilla, port normal both SSH port 22.
Somewhere I read that you should use ftp and upload a file to the remote access connection. But, I do not have access, so I can't download anything.
I've set the root password in the management console after installation.
See this link, it may be useful
-
is it possible to connect with SSH from router to router?
is it possible to connect with SSH (1.0 or 2.0) to a CISCO-router/Switch to another CISCO-router/Switch?
I think that an SSH connection to a router/switch is no longer possible to a women (Windows/Linux/Unix)
is it not?
I don't know if Cisco Compatible SSH 2.0, but there IOS - s that support ssh 1.0 and you can connect with ssh 1.0 from a cisco device (if it supports) to any device with
Router # ssh?
Select encryption algorithm - c
-l Log in using that username
options to specify o
p connect to this port
Address WORD IP or hostname of a remote system
Router # ssh x.x.x.x
-
How to connect with another Board?
How to connect with another Board?
I want to create several web page, and I want that with a link on online.
Edge also stage as flash?Use iframes, like this:
SYM. $("espace réservé") .append ("');
The src = would be the link to the project dashboard.
-
How to connect with the Skype name?
I used Skype on other PCs. I try to sign in to Skype on a new computer. I can't find the place where or how enter my Skype name to open a session? How do connect me with my Skype name?
Never mind. Found and installed the desktop version of Skype.
Problem solved!
-
How to connect with face detection in windows 8
Hello
I read somewhere that it has new feuture in windows 8 to connect with face recognition.
can you tell me please how can I use it?
You could talk about picture password.
-
How to connect with Adobe Media Server random remote Shared Object
Hello, I have my application on the web developed in Flash Professional CC and exported to Flash Player 13.
In my web app, I have 2 classes: connection (which creates the connection with my Adobe Media Server) and GlobalObject (that creates the remote shared object).
This is the code I have:
Connection class
import flash.events.AsyncErrorEvent;
import flash.events.Event;
import flash.events.IOErrorEvent;
import flash.events.SecurityErrorEvent;
import flash.events.SyncEvent;
import flash.events.NetStatusEvent;
import flash.net.NetConnection;
import flash.net.ObjectEncoding;
import flash.net.SharedObject;
var nc:NetConnection = new NetConnection();
nc.objectEncoding = ObjectEncoding.AMF3;
NC.client = this;
nc.proxyType = "best";
nc.addEventListener (NetStatusEvent.NET_STATUS, netSAServerRTMPStatus);
nc.addEventListener (IOErrorEvent.IO_ERROR, onIOError);
nc.addEventListener (AsyncErrorEvent.ASYNC_ERROR, asyncErrorHandler);
nc.addEventListener (SecurityErrorEvent.SECURITY_ERROR, onSecurityError);
NC. Connect ("rtmp://myAMS_URL:1935 / myApp", "myRandomChannel");
var _ro:GlobalObject;
function onIOError(e:IOErrorEvent):void
{
trace ("onIOError");
}
function asyncErrorHandler(e:AsyncErrorEvent):void
{
trace ("asyncErrorHandler =" + e.error);
}
function onSecurityError(e:SecurityError):void
{
trace ("onSecurityError =" + e.error);
}
function netSAServerRTMPStatus(event:NetStatusEvent):void
{
Switch (info.code)
{
case "NetConnection.Connect.Success":
trace ("Connected");
ConnectToSharedObject();
by default:
trace (e.info.code);
break;
}
}
function ConnectToSharedObject (): void
{
_ro = new GlobalObject();
var randomRO:Number = Math.Random ();
_ro. Connect (randomRO, nc, false);
trace (_ro. Connected);
If (_ro. Connected is true)
{
_ro.addEventListener ("onNewMsg", onNewMsg);
_ro.sendNewMsg ("hello");
}
}
function onNewMsg(e:Event):void
{
trace (e.Target.chatMsg);
}
GlobalObject class
import flash.events.AsyncErrorEvent;
import flash.events.Event;
import flash.events.EventDispatcher;
import flash.events.SyncEvent;
import flash.net.NetConnection;
import flash.net.ObjectEncoding;
import flash.net.SharedObject;
var so: SharedObject;
var connected: Boolean;
var _msg:String;
function GlobalObject()
{
Super();
}
function connect(p_soName:String,_p_nc:NetConnection,_p_persistant:Boolean):void
{
create StoredObject
So = SharedObject.getRemote (p_soName, p_nc.uri, p_persistant);
so.client = this;
Configure the onSync events
so.addEventListener (SyncEvent.SYNC, onSync);
connect to the SO
so. Connect (p_nc);
connected = true
}
function logout (): void
{
so. Close();
}
function onSync(evt:SyncEvent):void
{
trace ("onSync");
}
public void sendNewMsg(msg:String):void
{
so. Send ("mewMsg", msg);
}
function mewMsg(msg:String):void
{
_msg = msg;
dispatchEvent (new Event ("onNewMsg", _msg));
}
The problem is that I have ever received the 'onSync' event, then, so I never got the messages. What I am doing wrong? I have to add or change?
I have no code (C:\ProgramFiles\Adobe\AdobeMediaServer5\applications\myApp) server-side. All this code is compiled and exported as a SWF file, and this is the file that the user charge when go to my Web page.
Hope someon could help me.
Best regards
Manel
Hello
The problem is solved! The point is that the AMS folder that I created were defined as 'direct' default app. Once I changed that, it work corretly.
Best regards
-
How to connect with workflow loader
Hello
I'm new to EBS.how to connect to the workflow loader?
concerningHello
Use WFLOAD.
Note: 117084.1 - 11i: FAQ API FNDSLOAD CHARGERS
Thank you
Hussein -
How to connect with webdav repository XML DB - Oracle12c - Windows 7
Hello
I installed Oracle12c in Windows 7 (64-bit)
How to access the XML DB repository with WebDAV protocol?
What is the URL to use? That the user use?
Try to use the user 'system' because I think there privileges because I create folders with PL / SQL (dbms_xdb.createfolder (' / public / NewFolder ');)
In principle I try the web client W7: https://localhost:5500 because I see that the listener was listening to the HTTP protocol at the following address (TCPS); 3 times asking me the user name and password.
, Error: the folder you entered does not appear to be valid. Please choose another
I have check the HTTP DBMS_XDB port. GETHTTPPORT () and I get the result 0.
Then Active: DBMS_XDB. SETHTTPPORT (8080) control, and tells me that I turn on port 8080.
I try to connect via WebDAV: http://localhost: 8080 . 3 times asking me username and password
, Error: the folder you entered does not appear to be valid. Please choose another
I know that this error may be due to the web client Windows 7 and so I tried a web client like Cyberduck. In this case, I can't connect indicating to the user 'system' of authentication errors.And... I can connect without problems to XML DB Repository in Oracle 11 g 1 material and Oracle 11 g 2!
Any idea?Hello
After many hours, I found the cause and solution.
The XDB in Oracle12c server with authentication "digest" rather "' basic in Oracle11g.
This configuration is in the file "xdbconfig.xml" in the XML DB repository and the need to change it, but if you can not access through WebDAV... How to do? Then via PL / SQL:
SET SERVEROUTPUT ON
DECLARE
in the XMLTYPE.
BEGIN
SELECT updateXML
(DBMS_XDB.cfg_get)
, ' / xdbconfig/sysconfig/protocolconfig/httpconfig/authentication/allow-mechanism / text () '
, 'basic '.
"' xmlns ="http://xmlns.oracle.com/xdb/xdbconfig.xsd"').
To the
DOUBLE;
DBMS_XDB.cfg_update(àles);
DBMS_XDB.cfg_refresh;
end;
/
And that's all. I hope I can help those who encounter the same problem.
-
Hello
I installed my own server Oracle 10 g on my computer, but I can only connect as SCOTT/TIGER. This account has only the connect and resource roles, but I want to connect to the database as a user with the DBA role. Could you get it someone please let me know how to do this? Thank you!Hello
"conn / as sysdba". connect like that, you'll be logined with DBA privilege as user sys.
-
Please tell me how to connect with FCoE mini-UCS and Nexus N5k (N5K-C5548UP-B-S32)
I have UCS 5108 chassis of Server Blade (with two blades B200 M3 inside and two FI 6324) connected to the switch of Nexus N5k 4x10GE links.
I want to set both aggregated channels FCoE (vFC) of chassi to pass.
All the instructions I've seen mention that UCS-mini needs to be mode end-host FC, but version 3.0 UCSM does not support this mode, what should you do?
I put in place following the www.cisco.com/c/en/us/support/docs/switches/nexus-5000-series-switches/116248-configure-fcoe-00.html instructions
But after the installation, I get an error on the fabric: FCoE or FC uplink is down on Vsan 500;
And the Nexus program: Vsan 500 is declining (pending flogi)
When I ' display interface vfc 1 ' CLI nexus I don't see "Trunk VSAN (high)", but
"VSANS trunk (boot) (500).
Unfortunately, I can't find the technical notes for mini UCS (with UCSM v. 3.0), so maybe you can promt guides or suggestion for this?
Thank you in advance!
Same question here.
TIA
-
How to connect with the table of database user credentials
Hi all.
I have a table named users_1 in my database. This table has columns named username, password, email and username. The user name, I put a sequence.
Now, I did manually 1 row in this table, with inside the credentials of the user.
How can I change my request so that I can use these credentials to log on to the application?
Please, text step by step would make me pretty happy, rather than get a link with information that I should read. I read most of it, and it is not just make no sense to me, so I prefer a guide and hollows.
Thank you...Hi Magali,.
Sorry delete return of the name of the function.
Instead of return CUSTOM_AUTHENTICATE set CUSTOM_AUTHENTICATEAuthentication name = CUSTOM_AUTHENTICATE
Search for now,
Thank you
Jitendra -
How to connect with the device to make a phone call
Hello world
I am developing a small application, in which I provide a button contains the phone number to let the user click on and make a phone call, I try the class phone but couldn't.
Could someone tell me how to do this!
Thank you!
read this:
-
How to connect to my OracleXe with SqlDeveloper?
Hi all I have installed oracle xe on a Windows Xp computer, asked me for a password and I typed: 123
Then I have a myback.dmp filenamed backup and imported:
IMP file = myback.dmp ' 123/sys AS SYSDBA"full = Yes log = implog.log
example of messages: when importing
==============================================================================================================
ORA-01917: user or role 'PASES_FIERROS' does not exist
IMP-00017: statement failed with error ORACLE 1917:
"GRANT ON COMMIT REFRESH"MUNICIPIOS"AT"PASES_FIERROS"
IMP-00003: ORACLE error 1917
ORA-01917: user or role 'PASES_FIERROS' does not exist
IMP-00017: statement failed with error ORACLE 1917:
"GRANT QUERY REWRITE ON"MUNICIPIOS"AT"PASES_FIERROS"
IMP-00003: ORACLE error 1917
ORA-01917: user or role 'PASES_FIERROS' does not exist
IMP-00017: statement failed with error ORACLE 1917:
"GRANT SELECT ON"MUNICIPIOS"AT"PASES_FIERROS"
IMP-00003: ORACLE error 1917
ORA-01917: user or role 'PASES_FIERROS' does not exist
IMP-00017: statement failed with error ORACLE 1917:
"GRANT UPDATE ON"MUNICIPIOS"AT"PASES_FIERROS"
IMP-00003: ORACLE error 1917
ORA-01917: user or role 'PASES_FIERROS' does not exist
About to activate the constraints...
Import completed successfully with warnings.
==============================================================================================================
then I ask:
(1) how to resolve similar messages to:
ORA-01917: user or role 'PASES_FIERROS' does not exist
(2) how to connect with Oracle Database XE? and see the data
I try with these settings:
Conconnection name: MyConn
Username: SYSDBA (and also try: user SYS)
Password: 123
Connection type: TNS
Alias: XE
and say: the other error message access denied: user: SYS must be SYSDBA or SYSOPER
all advice?
Thank you
Note: I do not know how to be generated myback.dmp (username/password and other settings).
The connection type must be 'AS SYSDBA"to the user SYS and 'basic' for users not dba.
-
How to connect the sql with cloud developer
Hello
We are able to create and connect data bases in the clouds, but not sure how to connect with oracle sql developer locally.
Any help.
I get the database settings and manage to connect with sql developer
Maybe you are looking for
-
Everyone thinks Apple pay online does not? I just tried to buy something from the Apple Store online and after authentication, purchase on my Apple Watch he said payment does not pass! I have used Apple pay on my iPhone to purchase through the app st
-
How can I change the default location to save to SD card?
I was looking for an answer in the forum, but nothing helped. Anyone knows how to save SD location and not the internal memory?
-
rx100iv for video recording remote starter
You can start and stop recording using a smart phone?
-
Using Labview and PXI-4461, how can I AO0 output Signal Square and AO1 output waveform
I am using PXI-4461 and Labview, boredom, generating 2 signals simultaneously. How can I get AO0 out square and exit AO1 SignWave? Help, please. (The example Code would be nice) Thank you.
-
I just finished an application that uses a camera to get the video and image, through assistance in this forum, I have received. Now I want to use this image, which is displayed in the snap-snap-in screen image and use OCR to get the letters and numb