forked from qt-creator/qt-creator
SSH: Implement remote shell support.
Change-Id: Ifcddd930bbf027f4828f8ba01544aca5dea1eeed Reviewed-on: http://codereview.qt.nokia.com/2220 Reviewed-by: Christian Kandeler <christian.kandeler@nokia.com>
This commit is contained in:
@@ -179,6 +179,12 @@ void SshOutgoingPacket::generateExecPacket(quint32 remoteChannel,
|
||||
.appendBool(true).appendString(command).finalize();
|
||||
}
|
||||
|
||||
void SshOutgoingPacket::generateShellPacket(quint32 remoteChannel)
|
||||
{
|
||||
init(SSH_MSG_CHANNEL_REQUEST).appendInt(remoteChannel).appendString("shell")
|
||||
.appendBool(true).finalize();
|
||||
}
|
||||
|
||||
void SshOutgoingPacket::generateSftpPacket(quint32 remoteChannel)
|
||||
{
|
||||
init(SSH_MSG_CHANNEL_REQUEST).appendInt(remoteChannel)
|
||||
|
||||
Reference in New Issue
Block a user