problem in using matlab mpi for parallel processing..

3 views (last 30 days)
i m using copssh server and putty client to connect two laptops using windows7... i hv been able to login automatically using the keys.. but when i run the matlab program it gives permission denied(keyboard interactive)for the remote machine. is there any way to access remote matlab using copssh server and putty client??

Answers (1)

Jason Ross
Jason Ross on 19 Jul 2011
The error you are seeing comes from SSH. I'd check what user is running the process, and that you can connect without password challenge using that user.
You can also turn up the verbosity of a SSH connection to see what's going on as you try to connect. In PuTTY, you can monitor what's going on by looking at the "event log" by selecting in the upper left hand corner of the window while you are opening the connection.
If you are trying to call PuTTY from within MATLAB, you could also try using plink (which is another part of the PuTTY suite of tools)
Beyond that, more information is required -- for instance a short code sample that illustrates the problem.
And, as a shameless plug -- the Parallel Computing Toolbox and MATLAB Distributed Computing Server let you set up a remote machine, connect via a client and run MATLAB remotely.
  2 Comments
raheel mumtaz
raheel mumtaz on 20 Jul 2011
thanx jason... i would like to know about calling PuTTY from within matlab using plink... hw could i do that..
Jason Ross
Jason Ross on 20 Jul 2011
system('plink.exe <options>'). It will open the session and allow you to interact with it from the MATLAB command window.

Sign in to comment.

Categories

Find more on Startup and Shutdown in Help Center and File Exchange

Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!