SSH From Matlab (updated) + SFTP/SCP
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 and is now included in the zip file.
引用格式
David Freedman (2024). SSH From Matlab (updated) + SFTP/SCP (https://www.mathworks.com/matlabcentral/fileexchange/27999-ssh-from-matlab-updated-sftp-scp), MATLAB Central File Exchange. 检索时间: .
MATLAB 版本兼容性
平台兼容性
Windows macOS Linux类别
- MATLAB > Data Import and Analysis > Data Import and Export > Hardware and Network Communication > TCP/IP Communication >
- Test and Measurement > Instrument Control Toolbox > Interface-Based Instrument Communication >
标签
致谢
参考作品: SSH From Matlab, SCP/SFTP from Matlab
启发作品: SSH, SFTP/SCP from Matlab with Public Key Authentication, SSH/SFTP/SCP For Matlab (v2)
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!sshfrommatlab_13b/
版本 | 已发布 | 发行说明 | |
---|---|---|---|
1.7.0.0 | Includes Ganymed library (no longer accessible from (http://www.cleondris.ch/) |
||
1.6.0.0 | File updated. |
||
1.5.0.0 | Now supports public key authentication. Also one can send commands without waiting for a response. Plus, an updated sshfrommatlabinstall. |
||
1.4.0.0 | Added SCP functionality |
||
1.3.0.0 | Added SFTP function. Also removed extraneous files. |
||
1.0.0.0 |