IDE with remote build feature that is compatible with MIT Kerberos - c

I'm using cluster resources from my academic provider (PDC, Sweden) that uses the MIT-Kerberos authentication protocol for the users to sign in securely.
I'm also using Netbeans to develop C and Fortran code. Netbeans has a feature that lets you build your code on a remote host while you are working on your localhost/Desktop machine. Naturally, this feature requires you to log into your remotehost.
Since Netbeans is using its own SSH client, I cannot connect to the above mentioned remotehost even if I have a valid Kerberos ticket. I have googled this issue, but couldn't find anything related to it.
Has anybody else had a similar issue?
Does anybody know of an IDE for C/Fortran that has a build on remotehost feature and is capable of using the Kerberos protocol?

Eclipse with the Photran plugin are commonly mentioned. I never used it myself, but Eclipse should also support authentication via Kerberos.
See here for more on Eclipse and SSH.

Related

azure iothub sdk mqtt sample - error tls certificate

I'm trying to run the azure iothub sdk c sample of the mqtt protocol.
I've compiled hte project but when I run the program it returns some error about SSL routines
This i the complete error:
error:1416F086: SSL routines:tls_process_server_certificate:certificate verify failed
Info: Closing tlsio from a state other than TLSIO_STATE_EXT_OPEN or TLSIO_STATE_EXT_ERROR
I got only this error repeated five times, one for each accepted message ready to be transmitted to the IoTHub.
I've read that I need to set trust to the openssl certs in the sample directory but I've not figured out how to do this task or how to avoid this problem.
Is there someone who has already faced this issue?
This document describes in detail how to prepare your development environment as well as how to run the samples on Linux, Windows or other platforms. Please refer to the section to rebuild you code and then run to test.
Try using the TrustedCerts option. With this option you can pass to the SDK the certificate that is used to validate the server's certificate. This is typically used when either you don't have the root certificate, Baltimore CyberTrust, or your device does not have the concept of a trusted root certificate store. You can find an example of this option being used in
<repositoryRoot>\iothub_client\samples\iothub_client_sample_amqp_shared\iothub_client_sample_amqp_shared.c
https://github.com/Azure/azure-iot-sdk-c/blob/44827986929af7f4fbb41806b880a6da4e13d3e8/iothub_client/samples/iothub_client_sample_amqp_shared/iothub_client_sample_amqp_shared.c#L261

How can I build a standalone MQSeries client under Linux using the C API?

IBM offer an installable MQSeries Client software that allows you to access queue managers on remote hosts. They also offer some C-callable libraries that let you do messaging from a C application.
My problem is that I don't have admin access on the hosts I plan to test-deploy on, and getting an application installed comes with bigtime Enterprise hassle. IBM, meanwhile, acts as if there's no alternative to installing their whole client package. Assuming I'm willing to forgo their support, can I get around this? i.e. is there some set of objects/libraries I can link with to produce a standalone client?
From v8.0.0.4 onwards, IBM provides set of libraries as a zip/tar and you don't need to install whole client package. See here: http://www.ibm.com/support/knowledgecenter/SSFKSJ_8.0.0/com.ibm.mq.ins.doc/q122882_.htm.
But you still need queue manager running somewhere to test your application.

Downloading a file from SFTP Server in Delphi [duplicate]

I'm writing a simple Delphi App to upload a few files to a SFTP Server. i thought i would be able to use a TIdFTP indy client but it seams as tho their is not an option for FTP Over SSH (SFTP) does anyone know of any Free / Open source Components for Delphi 2010 that would support FTP over SSH (SFTP). Due to security reasons im unable to use Active X controls so please do not respond with Active X solutions.
Thanks for the help,
Kyle
SFTP and "FTP over SSH" are two separate things, and neither involves SSL (as someone else has suggested). SFTP is a sub-protocol of SSH while "FTP over SSH" is good/bad ol' FTP tunnelled through an SSH connection with port forwarding.
Either way, what you're after is a Delphi SSH library. I was unable to find a free SSH library for Delphi and ended purchasing SecureBlackbox (http://www.eldos.com/), which is excellent by the way, although SecureBridge (http://www.devart.com) also looks pretty good.
1) SFTP is NOT FTP-over-SSH. Read the discussion here.
2) For SFTP there are no free Delphi components. You can use our SFTP client and server components for Delphi (part of SecureBlackbox product), which are supported and maintained commercial solution.
I've been using PuTTY's SCP command line utility, with catching it's standard out via the CreateProcess method.
IP*Works include SFTP component - http://www.nsoftware.com/products/component/sftp.aspx and registered user of Delphi XE a XE2 can download this from code central (ID: 28437, ID: 28012)
and for Synapse is in contrib dir demo of simple SFTP - http://synapse.ararat.cz/files/contrib/
And since October 2019, there's a DLL fork of PuTTY with Delphi units, please see
https://github.com/superflexible/TGPuttyLib
This was created to be able to achieve the highest possible transfer rates over SFTP. It's free and very easy to use (with examples).
Look at Synapse ( http://synapse.ararat.cz/doku.php/download ) suporting ssl protocole.
Exemple code: http://synapse.ararat.cz/doku.php/public:howto:tcpwithssl
Another secure connection component set is from nSoftware: http://www.nsoftware.com/ipworks/ssh/components.aspx
You get SSH Tunnel, and SFTP.
They also offer a full component set of SSL related items: http://www.nsoftware.com/ipworks/ssl/components.aspx
libssh2 (wriiten in C) supports SFTP, and we have two separate Delphi wrappers (not sure which one is better):
https://github.com/pult/libssh2_delphi
and
https://github.com/dimmaq/delphi-libssh2
SecureBridge from DevArt also support SFTP, comes with full source for the Professional Editon.

Creating a server socket in beaglebone

I'm new in using beaglebone, and I need some help about some issues I'm facing.
I wrote a code in c (running in a laptop with ubuntu) in which a server socket is opened (running an apache server), and then another device connects to it through internet.
I would like to do the same in the beaglebone with ansgtrom distro (the one that comes with the board). I have read that angstrom distro comes with cloud9 (which from what I understand it acts as a server, like apache).
So, how can I create/open/use a server socket (through a program written in c) in cloud9-beaglebone?
Also, how can I configure cloud9 to store certain webpage? Is such configuration similar to the one in apache?
Cloud9 IDE is an IDE for developing code for Node.JS.
The version of Node.JS used today is 0.6.20. There are examples on the nodejs.org home page and for the particular version at http://nodejs.org/docs/v0.6.20/.
To serve up web pages, I recommend you look into frameworks like ExpressJS. You can use the 'npm' utility under the Cloud9 IDE or the command line to install ExpressJS.
Since Cloud9 IDE allows you to edit C code, you can create typical C code that opens and serves sockets. pkg-config is installed to help you with linking libraries. You'll want to go to https://beaglebone.local to use Gate One to ssh into the board (username: root, password: ) and run the C compiler from the command line. You can use the same tools you'd use under Ubuntu, like 'make' and 'g++'.

Matlab Javabuilder using GWT

Anyone know how to integrate the Matlab compiler runtime with Google Web Toolkit?
Basically, I have GWT client-server app where the server side does some big computation using Java components compiled using the MATLAB Builder JA. Then server side sends the result back to the client (typical stuff).
I get the GWT app to compile fine but I can not access any of the .dylib files in the Matlab compiler runtime directories once running.
Typical error:
Caused by:
java.security.AccessControlException:
access denied (java.io.FilePermission
/Applications/MATLAB/MATLAB_Compiler_Runtime/v713/runtime/maci64/libmwmclmcrrt.7.13.dylib
read)
I know that it's killing my access b/cuz of sandbox issues. But, I have to access these dylib files somehow. What is the best/secure way to to integrate these libraries with GWT?
Additional info:
using Mac OSX 10.6.5
Eclipse JavaEE Helios + GWT 2.1 and app-engine plugin
Any help would be awesome.
Cheers
I think it is not necessary to integrate with GWT. Because GWT is pure client side. You must access MATLAB or any libraries from servlet. So you must integrate your matlab libraries with java servlets. Try access them from simple java application and use in servlets in the same way.
Google App Engine and Matlab are not good options to use together. Therefore I recommend you not to use Google App Engine. You can use , any other server side technology such as servlet for matlab computation..

Resources