public SSHChannel OpenShell(ISSHChannelEventReceiver receiver)
        {
            _channel_entry = new TelnetChannel(this, socket, receiver);
            TelnetPacketBuilder pb = new TelnetPacketBuilder(receiver);
            PlainSocket         ps = new PlainSocket(socket, pb);

            ps.RepeatAsyncRead();
            return(_channel_entry);
        }
Example #2
0
 public SSHChannel OpenShell(ISSHChannelEventReceiver receiver)
 {
     _channel_entry = new TelnetChannel(this, socket, receiver);
     TelnetPacketBuilder pb = new TelnetPacketBuilder(receiver);
     PlainSocket ps = new PlainSocket(socket, pb);
     ps.RepeatAsyncRead();
     return _channel_entry;
 }