Monday, October 26, 2009

Matlab installation and ssh connection

Ok, here i am blogging once again.
Pretty much nothing fancy around this time of the story.
I've been trying to install Matlab, and here are few notes regarding the instruction of license and activation setup.
Using the username created from Matworld, together with the activation file obtained from cse website, we can go into the account page to do the download and activation, for each machine, there needs to be one license.dat file and the installation file. Use them to install, the current version is 2009b.

For SSH connection, I want to use the server from NII for faster processing, but since it's a secure server that can only be accessed via a middle server, all connections made to NII must be via that machine. More tragically, that machine requires key authentication instead of normal login. So the process first requires generation of a public/private key pair, initially I was working on a Windows PC, so I use putty with its associates to do the job, need to ask admin of the middle server to add my public key to the access list, then using Auth/SSH option from Putty, can i successfully login to that machine. Today I have to use the Linux to connect there, and with few unsuccessful tries using the private key Putty gave me, I realise the private key is incompatible, so I went back, use puttygen to export the private key to an openssh format, and that does the tricks.
Another thing regarding the file transfer, in order to copy files from the NII server to my client machine, I need to do that over the middle machine, still havent found a way to do this automatically. Use scp -i privatekeyfile source destination on Unix or pscp -i privatrekeyfile source destincation on Windows, pscp provided on the same page as putty.
Also, in order to keep the connection alive without being kicked due to long idle time, we can specify ssh -o SeverAliveInterval=30.

About life, nothing much except Counter Strike all nights, too many conferences are due soon, and yeah, research on video is a hard thing, since everything is just too s...l....o.....w, and without results, you cant do no writing. Well, gods bless me, I've always been a good boy.

No comments: