KDEsu
Go to the documentation of this file.
11 #ifndef __SSH_h_Included__
12 #define __SSH_h_Included__
27 explicit SshProcess(
const QByteArray &host = QByteArray(),
28 const QByteArray &user = QByteArray(),
29 const QByteArray &command = QByteArray());
32 enum Errors { SshNotFound=1, SshNeedsPassword, SshIncorrectPassword };
37 void setHost(
const QByteArray &host);
42 void setStub(
const QByteArray &stub);
51 int checkNeedPassword();
57 int checkInstall(
const char *password);
62 int exec(
const char *password,
int check=0);
64 QByteArray prompt()
const;
65 QByteArray error()
const;
68 virtual QByteArray display();
69 virtual QByteArray displayAuth();
72 int ConverseSsh(
const char *password,
int check);
75 virtual void virtual_hook(
int id,
void* data );
77 class SshProcessPrivate;
78 SshProcessPrivate *
const d;
Executes a remote command, using ssh.
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:49:48 by
doxygen 1.8.7 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.