SSH From Matlab (updated) + SFTP/SCP
by David Freedman
23 Jun 2010
(Updated 02 Jun 2011)
Run commands on a remote machine from a Matlab session, via a secure shell.
|
Watch this File
|
| File Information |
| Description |
If you need to access a remote machine from your Matlab session (for near-real time data transfer etc...) this set of functions allows you to programmatically send a single command and obtain the return values as a cell array.
Added SFTP function that is compatible with this library. Changed to use Matlab's binary read operations. Tested and achieved over 1.2MB sustained transfer rate.
SCP functionality has been included to transfer files back locally.
Now supports public key authentication.
This requires the open-source Ganymed SSH-2 for Java that is freely available online. |
| Acknowledgements |
Ssh From Matlab and Scp/Sftp From Matlab
inspired this file.
This file inspired
Ssh, Sftp/Scp From Matlab With Public Key Authentication and Ssh/Sftp/Scp For Matlab (V2).
|
| MATLAB release |
MATLAB 7.9 (R2009b)
|
| Other requirements |
Ganymed SSH-2 for Java library
http://www.cleondris.ch/opensource/ssh2/ |
|
Tags for This File
|
| Everyone's Tags |
|
| Tags I've Applied |
|
| Add New Tags |
Please login to tag files.
|
| Updates |
| 29 Jun 2010 |
Added SFTP function. Also removed extraneous files. |
| 17 Jul 2010 |
Added SCP functionality |
| 01 Jun 2011 |
Now supports public key authentication. Also one can send commands without waiting for a response. Plus, an updated sshfrommatlabinstall. |
| 02 Jun 2011 |
File updated. |
|
Contact us