Exemplo n.º 1
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);
        }
Exemplo n.º 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;
 }