remote execution via SSH (fish protocol maybe)

Ravikiran Rajagopal ravi at ee.eng.ohio-state.edu
Tue Mar 11 16:52:12 GMT 2003


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1


> Wat is the best way to execute commands remotely via SSH from within a KDE
> application.

1. If you want to just execute a command that you know will not fail, use the 
code from the SSH kioslave.

2. (Warning: Shameless Plug!) If you want a KDE-ish process (based on the KDE 
passowrd dialog) that acts as a transparent proxy (bridge for stdin, stdout, 
stderr, X) between an interactive process on a remote machine and yours, look 
at kdenonbeta/src/frontman/frontssh; it was designed to run Matlab, Octave, 
etc. on a remote machine forwarding all the handles so that KProcess would 
not know the difference between a local process and a remote one.

By the way, programming questions like this should probably be addressed to 
kde-devel.

Ravi
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQE+bhQ8bI8Y8y0oVXcRAvc1AJ9Mocl9gH/wrSfyU73vO6Y0ysv/zQCfZmIM
egHQfiTp7M/1ijk9j+TFN/w=
=cCQF
-----END PGP SIGNATURE-----





More information about the kde-core-devel mailing list