code
stringlengths
1
2.01M
repo_name
stringlengths
3
62
path
stringlengths
1
267
language
stringclasses
231 values
license
stringclasses
13 values
size
int64
1
2.01M
package com.trilead.ssh2.sftp; /** * * Values for the 'text-hint' field in the SFTP ATTRS data type. * * @author Christian Plattner, plattner@trilead.com * @version $Id: AttrTextHints.java,v 1.1 2007/10/15 12:49:55 cplattne Exp $ * */ public class AttrTextHints { /** * The server knows the fil...
07pratik-mysshpratik
src/com/trilead/ssh2/sftp/AttrTextHints.java
Java
gpl3
1,083
package com.trilead.ssh2.sftp; /** * * SFTP Attribute Bits for the "attrib-bits" and "attrib-bits-valid" fields of * the SFTP ATTR data type. * <p> * Yes, these are the "attrib-bits", even though they have "_FLAGS_" in their * name. Don't ask - I did not invent it. * <p> * "<i>These fields, taken to...
07pratik-mysshpratik
src/com/trilead/ssh2/sftp/AttribBits.java
Java
gpl3
5,221
package com.trilead.ssh2.sftp; /** * * Types for the 'type' field in the SFTP ATTRS data type. * <p> * "<i>On a POSIX system, these values would be derived from the mode field of * the stat structure. SPECIAL should be used for files that are of a known type * which cannot be expressed in the protocol. ...
07pratik-mysshpratik
src/com/trilead/ssh2/sftp/AttribTypes.java
Java
gpl3
1,074
package com.trilead.ssh2.sftp; /** * * Attribute Flags. The 'valid-attribute-flags' field in the SFTP ATTRS data * type specifies which of the fields are actually present. * * @author Christian Plattner, plattner@trilead.com * @version $Id: AttribFlags.java,v 1.1 2007/10/15 12:49:55 cplattne Exp $ * ...
07pratik-mysshpratik
src/com/trilead/ssh2/sftp/AttribFlags.java
Java
gpl3
3,243
package com.trilead.ssh2.sftp; /** * * SFTP Open Flags. * * The following table is provided to assist in mapping POSIX semantics to * equivalent SFTP file open parameters: * <p> * TODO: This comment should be moved to the open method. * <p> * <ul> * <li>O_RDONLY * <ul> * <li>desired-access ...
07pratik-mysshpratik
src/com/trilead/ssh2/sftp/OpenFlags.java
Java
gpl3
7,931
package com.trilead.ssh2.sftp; /** * * SFTP Paket Types * * @author Christian Plattner, plattner@trilead.com * @version $Id: Packet.java,v 1.1 2007/10/15 12:49:55 cplattne Exp $ * */ public class Packet { public static final int SSH_FXP_INIT = 1; public static final int SSH_FXP_VERSION = 2; p...
07pratik-mysshpratik
src/com/trilead/ssh2/sftp/Packet.java
Java
gpl3
1,503
package com.trilead.ssh2.sftp; /** * * Permissions for the 'permissions' field in the SFTP ATTRS data type. * <p> * "<i>The 'permissions' field contains a bit mask specifying file permissions. * These permissions correspond to the st_mode field of the stat structure * defined by POSIX [IEEE.1003-1.1996]...
07pratik-mysshpratik
src/com/trilead/ssh2/sftp/AttribPermissions.java
Java
gpl3
1,046
/* * ConnectBot: simple, powerful, open-source SSH client for Android * Copyright 2007 Kenny Root, Jeffrey Sharkey * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.a...
07pratik-mysshpratik
src/com/trilead/ssh2/compression/Zlib.java
Java
gpl3
3,673
/* * ConnectBot: simple, powerful, open-source SSH client for Android * Copyright 2007 Kenny Root, Jeffrey Sharkey * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.a...
07pratik-mysshpratik
src/com/trilead/ssh2/compression/ZlibOpenSSH.java
Java
gpl3
1,060
/* * ConnectBot: simple, powerful, open-source SSH client for Android * Copyright 2007 Kenny Root, Jeffrey Sharkey * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.a...
07pratik-mysshpratik
src/com/trilead/ssh2/compression/CompressionFactory.java
Java
gpl3
2,507
/* * ConnectBot: simple, powerful, open-source SSH client for Android * Copyright 2007 Kenny Root, Jeffrey Sharkey * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.a...
07pratik-mysshpratik
src/com/trilead/ssh2/compression/ICompressor.java
Java
gpl3
958
package com.trilead.ssh2; /** * A <code>SFTPv3FileAttributes</code> object represents detail information * about a file on the server. Not all fields may/must be present. * * @author Christian Plattner, plattner@trilead.com * @version $Id: SFTPv3FileAttributes.java,v 1.2 2008/04/01 12:38:09 cplattne * ...
07pratik-mysshpratik
src/com/trilead/ssh2/SFTPv3FileAttributes.java
Java
gpl3
3,938
package com.trilead.ssh2; /** * A <code>SFTPv3FileHandle</code>. * * @author Christian Plattner, plattner@trilead.com * @version $Id: SFTPv3FileHandle.java,v 1.1 2007/10/15 12:49:56 cplattne Exp $ */ public class SFTPv3FileHandle { final SFTPv3Client client; final byte[] fileHandle; boolean isClo...
07pratik-mysshpratik
src/com/trilead/ssh2/SFTPv3FileHandle.java
Java
gpl3
954
package com.trilead.ssh2; import java.util.Map; /** * AuthAgentCallback. * * @author Kenny Root * @version $Id$ */ public interface AuthAgentCallback { /** * @param key * A <code>RSAPrivateKey</code> or <code>DSAPrivateKey</code> * containing a DSA or RSA private key of the user in...
07pratik-mysshpratik
src/com/trilead/ssh2/AuthAgentCallback.java
Java
gpl3
1,646
package com.trilead.ssh2.packets; import java.io.IOException; import java.math.BigInteger; /** * PacketKexDHReply. * * @author Christian Plattner, plattner@trilead.com * @version $Id: PacketKexDHReply.java,v 1.1 2007/10/15 12:49:55 cplattne Exp $ */ public class PacketKexDHReply { byte[] payload; ...
07pratik-mysshpratik
src/com/trilead/ssh2/packets/PacketKexDHReply.java
Java
gpl3
1,150
package com.trilead.ssh2.packets; import java.io.IOException; /** * PacketServiceRequest. * * @author Christian Plattner, plattner@trilead.com * @version $Id: PacketServiceRequest.java,v 1.1 2007/10/15 12:49:55 cplattne * Exp $ */ public class PacketServiceRequest { byte[] payload; St...
07pratik-mysshpratik
src/com/trilead/ssh2/packets/PacketServiceRequest.java
Java
gpl3
1,246
package com.trilead.ssh2.packets; import com.trilead.ssh2.DHGexParameters; /** * PacketKexDhGexRequest. * * @author Christian Plattner, plattner@trilead.com * @version $Id: PacketKexDhGexRequest.java,v 1.1 2007/10/15 12:49:55 cplattne * Exp $ */ public class PacketKexDhGexRequest { byte[]...
07pratik-mysshpratik
src/com/trilead/ssh2/packets/PacketKexDhGexRequest.java
Java
gpl3
827
package com.trilead.ssh2.packets; import java.io.IOException; /** * PacketUserauthRequestPassword. * * @author Christian Plattner, plattner@trilead.com * @version $Id: PacketUserauthRequestNone.java,v 1.1 2007/10/15 12:49:55 * cplattne Exp $ */ public class PacketUserauthRequestNone { byt...
07pratik-mysshpratik
src/com/trilead/ssh2/packets/PacketUserauthRequestNone.java
Java
gpl3
1,596
package com.trilead.ssh2.packets; import java.io.UnsupportedEncodingException; import java.math.BigInteger; /** * TypesWriter. * * @author Christian Plattner, plattner@trilead.com * @version $Id: TypesWriter.java,v 1.2 2008/04/01 12:38:09 cplattne Exp $ */ public class TypesWriter { byte arr[]; i...
07pratik-mysshpratik
src/com/trilead/ssh2/packets/TypesWriter.java
Java
gpl3
3,232
package com.trilead.ssh2.packets; import java.math.BigInteger; /** * PacketKexDhGexInit. * * @author Christian Plattner, plattner@trilead.com * @version $Id: PacketKexDhGexInit.java,v 1.1 2007/10/15 12:49:55 cplattne Exp * $ */ public class PacketKexDhGexInit { byte[] payload; BigInte...
07pratik-mysshpratik
src/com/trilead/ssh2/packets/PacketKexDhGexInit.java
Java
gpl3
625
package com.trilead.ssh2.packets; import java.io.IOException; import java.math.BigInteger; /** * PacketKexDhGexGroup. * * @author Christian Plattner, plattner@trilead.com * @version $Id: PacketKexDhGexGroup.java,v 1.1 2007/10/15 12:49:55 cplattne Exp * $ */ public class PacketKexDhGexGroup...
07pratik-mysshpratik
src/com/trilead/ssh2/packets/PacketKexDhGexGroup.java
Java
gpl3
1,075
package com.trilead.ssh2.packets; import java.io.IOException; /** * PacketChannelWindowAdjust. * * @author Christian Plattner, plattner@trilead.com * @version $Id: PacketChannelWindowAdjust.java,v 1.1 2007/10/15 12:49:55 * cplattne Exp $ */ public class PacketChannelWindowAdjust { byte[] ...
07pratik-mysshpratik
src/com/trilead/ssh2/packets/PacketChannelWindowAdjust.java
Java
gpl3
1,505
package com.trilead.ssh2.packets; import java.io.IOException; import java.math.BigInteger; /** * PacketKexDhGexReply. * * @author Christian Plattner, plattner@trilead.com * @version $Id: PacketKexDhGexReply.java,v 1.1 2007/10/15 12:49:55 cplattne Exp * $ */ public class PacketKexDhGexReply...
07pratik-mysshpratik
src/com/trilead/ssh2/packets/PacketKexDhGexReply.java
Java
gpl3
1,190
package com.trilead.ssh2.packets; /** * PacketGlobalCancelForwardRequest. * * @author Christian Plattner, plattner@trilead.com * @version $Id: PacketGlobalCancelForwardRequest.java,v 1.1 2007/10/15 12:49:55 * cplattne Exp $ */ public class PacketGlobalCancelForwardRequest { byte[] payload; ...
07pratik-mysshpratik
src/com/trilead/ssh2/packets/PacketGlobalCancelForwardRequest.java
Java
gpl3
956
package com.trilead.ssh2.packets; /** * PacketSessionSubsystemRequest. * * @author Christian Plattner, plattner@trilead.com * @version $Id: PacketSessionSubsystemRequest.java,v 1.1 2007/10/15 12:49:55 * cplattne Exp $ */ public class PacketSessionSubsystemRequest { byte[] payload; public...
07pratik-mysshpratik
src/com/trilead/ssh2/packets/PacketSessionSubsystemRequest.java
Java
gpl3
996
package com.trilead.ssh2.packets; /** * PacketSessionExecCommand. * * @author Christian Plattner, plattner@trilead.com * @version $Id: PacketSessionExecCommand.java,v 1.1 2007/10/15 12:49:55 * cplattne Exp $ */ public class PacketSessionExecCommand { byte[] payload; public int recipientC...
07pratik-mysshpratik
src/com/trilead/ssh2/packets/PacketSessionExecCommand.java
Java
gpl3
935
package com.trilead.ssh2.packets; import java.io.IOException; /** * PacketUserauthBanner. * * @author Christian Plattner, plattner@trilead.com * @version $Id: PacketUserauthFailure.java,v 1.1 2007/10/15 12:49:55 cplattne * Exp $ */ public class PacketUserauthFailure { byte[] payload; ...
07pratik-mysshpratik
src/com/trilead/ssh2/packets/PacketUserauthFailure.java
Java
gpl3
1,344
package com.trilead.ssh2.packets; /** * PacketSessionStartShell. * * @author Christian Plattner, plattner@trilead.com * @version $Id: PacketSessionStartShell.java,v 1.1 2007/10/15 12:49:55 cplattne * Exp $ */ public class PacketSessionStartShell { byte[] payload; public int recipientChan...
07pratik-mysshpratik
src/com/trilead/ssh2/packets/PacketSessionStartShell.java
Java
gpl3
831
package com.trilead.ssh2.packets; import java.io.IOException; import java.math.BigInteger; import com.trilead.ssh2.util.Tokenizer; /** * TypesReader. * * @author Christian Plattner, plattner@trilead.com * @version $Id: TypesReader.java,v 1.2 2008/04/01 12:38:09 cplattne Exp $ */ public class Types...
07pratik-mysshpratik
src/com/trilead/ssh2/packets/TypesReader.java
Java
gpl3
4,232
package com.trilead.ssh2.packets; import java.io.IOException; /** * PacketUserauthRequestPassword. * * @author Christian Plattner, plattner@trilead.com * @version $Id: PacketUserauthRequestPassword.java,v 1.1 2007/10/15 12:49:55 * cplattne Exp $ */ public class PacketUserauthRequestPassword...
07pratik-mysshpratik
src/com/trilead/ssh2/packets/PacketUserauthRequestPassword.java
Java
gpl3
1,758
package com.trilead.ssh2.packets; import java.io.IOException; /** * PacketChannelOpenFailure. * * @author Christian Plattner, plattner@trilead.com * @version $Id: PacketChannelOpenFailure.java,v 1.1 2007/10/15 12:49:55 * cplattne Exp $ */ public class PacketChannelOpenFailure { byte[] pay...
07pratik-mysshpratik
src/com/trilead/ssh2/packets/PacketChannelOpenFailure.java
Java
gpl3
1,790
package com.trilead.ssh2.packets; import java.io.IOException; /** * PacketNewKeys. * * @author Christian Plattner, plattner@trilead.com * @version $Id: PacketNewKeys.java,v 1.1 2007/10/15 12:49:55 cplattne Exp $ */ public class PacketNewKeys { byte[] payload; public PacketNewKeys() { } pub...
07pratik-mysshpratik
src/com/trilead/ssh2/packets/PacketNewKeys.java
Java
gpl3
1,016
package com.trilead.ssh2.packets; /** * PacketGlobalAuthAgent. * * @author Kenny Root, kenny@the-b.org * @version $Id$ */ public class PacketChannelAuthAgentReq { byte[] payload; public int recipientChannelID; public PacketChannelAuthAgentReq(int recipientChannelID) { this.recipientChannelID = recipientCh...
07pratik-mysshpratik
src/com/trilead/ssh2/packets/PacketChannelAuthAgentReq.java
Java
gpl3
660
package com.trilead.ssh2.packets; public class PacketSessionPtyResize { byte[] payload; public int recipientChannelID; public int width; public int height; public int pixelWidth; public int pixelHeight; public PacketSessionPtyResize(int recipientChannelID, int width, int height, int pixelWidth, int pixelHe...
07pratik-mysshpratik
src/com/trilead/ssh2/packets/PacketSessionPtyResize.java
Java
gpl3
910
package com.trilead.ssh2.packets; import java.io.IOException; /** * PacketUserauthRequestPublicKey. * * @author Christian Plattner, plattner@trilead.com * @version $Id: PacketUserauthRequestPublicKey.java,v 1.1 2007/10/15 12:49:55 * cplattne Exp $ */ public class PacketUserauthRequestPublic...
07pratik-mysshpratik
src/com/trilead/ssh2/packets/PacketUserauthRequestPublicKey.java
Java
gpl3
1,660
package com.trilead.ssh2.packets; import java.io.IOException; /** * PacketIgnore. * * @author Christian Plattner, plattner@trilead.com * @version $Id: PacketIgnore.java,v 1.1 2007/10/15 12:49:55 cplattne Exp $ */ public class PacketIgnore { byte[] payload; byte[] data; public PacketIgnore() ...
07pratik-mysshpratik
src/com/trilead/ssh2/packets/PacketIgnore.java
Java
gpl3
1,161
package com.trilead.ssh2.packets; /** * Packets. * * @author Christian Plattner, plattner@trilead.com * @version $Id: Packets.java,v 1.1 2007/10/15 12:49:55 cplattne Exp $ */ public class Packets { public static final int SSH_MSG_DISCONNECT = 1; public static final int SSH_MSG_IGNORE = 2; public st...
07pratik-mysshpratik
src/com/trilead/ssh2/packets/Packets.java
Java
gpl3
5,920
package com.trilead.ssh2.packets; import java.io.IOException; /** * PacketUserauthInfoRequest. * * @author Christian Plattner, plattner@trilead.com * @version $Id: PacketUserauthInfoRequest.java,v 1.1 2007/10/15 12:49:55 * cplattne Exp $ */ public class PacketUserauthInfoRequest { byte[] ...
07pratik-mysshpratik
src/com/trilead/ssh2/packets/PacketUserauthInfoRequest.java
Java
gpl3
1,690
package com.trilead.ssh2.packets; /** * PacketUserauthRequestInteractive. * * @author Christian Plattner, plattner@trilead.com * @version $Id: PacketUserauthRequestInteractive.java,v 1.1 2007/10/15 12:49:55 * cplattne Exp $ */ public class PacketUserauthRequestInteractive { byte[] payload; ...
07pratik-mysshpratik
src/com/trilead/ssh2/packets/PacketUserauthRequestInteractive.java
Java
gpl3
1,052
package com.trilead.ssh2.packets; /** * PacketChannelTrileadPing. * * @author Christian Plattner, plattner@trilead.com * @version $Id: PacketChannelTrileadPing.java,v 1.1 2008/03/03 07:01:36 * cplattne Exp $ */ public class PacketChannelTrileadPing { byte[] payload; public int recipientC...
07pratik-mysshpratik
src/com/trilead/ssh2/packets/PacketChannelTrileadPing.java
Java
gpl3
759
package com.trilead.ssh2.packets; /** * PacketOpenDirectTCPIPChannel. * * @author Christian Plattner, plattner@trilead.com * @version $Id: PacketOpenDirectTCPIPChannel.java,v 1.1 2007/10/15 12:49:55 * cplattne Exp $ */ public class PacketOpenDirectTCPIPChannel { byte[] payload; int chann...
07pratik-mysshpratik
src/com/trilead/ssh2/packets/PacketOpenDirectTCPIPChannel.java
Java
gpl3
1,493
package com.trilead.ssh2.packets; import java.io.IOException; /** * PacketOpenSessionChannel. * * @author Christian Plattner, plattner@trilead.com * @version $Id: PacketOpenSessionChannel.java,v 1.1 2007/10/15 12:49:55 * cplattne Exp $ */ public class PacketOpenSessionChannel { byte[] pay...
07pratik-mysshpratik
src/com/trilead/ssh2/packets/PacketOpenSessionChannel.java
Java
gpl3
1,585
package com.trilead.ssh2.packets; /** * PacketSessionX11Request. * * @author Christian Plattner, plattner@trilead.com * @version $Id: PacketSessionX11Request.java,v 1.1 2007/10/15 12:49:55 cplattne * Exp $ */ public class PacketSessionX11Request { byte[] payload; public int recipientChan...
07pratik-mysshpratik
src/com/trilead/ssh2/packets/PacketSessionX11Request.java
Java
gpl3
1,468
package com.trilead.ssh2.packets; import com.trilead.ssh2.DHGexParameters; /** * PacketKexDhGexRequestOld. * * @author Christian Plattner, plattner@trilead.com * @version $Id: PacketKexDhGexRequestOld.java,v 1.1 2007/10/15 12:49:55 * cplattne Exp $ */ public class PacketKexDhGexRequestOld {...
07pratik-mysshpratik
src/com/trilead/ssh2/packets/PacketKexDhGexRequestOld.java
Java
gpl3
693
package com.trilead.ssh2.packets; import java.io.IOException; /** * PacketUserauthBanner. * * @author Christian Plattner, plattner@trilead.com * @version $Id: PacketUserauthBanner.java,v 1.1 2007/10/15 12:49:55 cplattne * Exp $ */ public class PacketUserauthBanner { byte[] payload; St...
07pratik-mysshpratik
src/com/trilead/ssh2/packets/PacketUserauthBanner.java
Java
gpl3
1,411
package com.trilead.ssh2.packets; /** * PacketUserauthInfoResponse. * * @author Christian Plattner, plattner@trilead.com * @version $Id: PacketUserauthInfoResponse.java,v 1.1 2007/10/15 12:49:55 * cplattne Exp $ */ public class PacketUserauthInfoResponse { byte[] payload; String[] respon...
07pratik-mysshpratik
src/com/trilead/ssh2/packets/PacketUserauthInfoResponse.java
Java
gpl3
760
package com.trilead.ssh2.packets; /** * PacketSessionPtyRequest. * * @author Christian Plattner, plattner@trilead.com * @version $Id: PacketSessionPtyRequest.java,v 1.1 2007/10/15 12:49:55 cplattne * Exp $ */ public class PacketSessionPtyRequest { byte[] payload; public int recipientChan...
07pratik-mysshpratik
src/com/trilead/ssh2/packets/PacketSessionPtyRequest.java
Java
gpl3
1,577
package com.trilead.ssh2.packets; import java.io.IOException; /** * PacketDisconnect. * * @author Christian Plattner, plattner@trilead.com * @version $Id: PacketDisconnect.java,v 1.2 2008/04/01 12:38:09 cplattne Exp $ */ public class PacketDisconnect { byte[] payload; int reason; String desc; ...
07pratik-mysshpratik
src/com/trilead/ssh2/packets/PacketDisconnect.java
Java
gpl3
1,265
package com.trilead.ssh2.packets; import java.io.IOException; /** * PacketServiceAccept. * * @author Christian Plattner, plattner@trilead.com * @version $Id: PacketServiceAccept.java,v 1.2 2008/04/01 12:38:09 cplattne Exp * $ */ public class PacketServiceAccept { byte[] payload; Strin...
07pratik-mysshpratik
src/com/trilead/ssh2/packets/PacketServiceAccept.java
Java
gpl3
1,404
package com.trilead.ssh2.packets; import java.math.BigInteger; /** * PacketKexDHInit. * * @author Christian Plattner, plattner@trilead.com * @version $Id: PacketKexDHInit.java,v 1.1 2007/10/15 12:49:55 cplattne Exp $ */ public class PacketKexDHInit { byte[] payload; BigInteger e; public Pack...
07pratik-mysshpratik
src/com/trilead/ssh2/packets/PacketKexDHInit.java
Java
gpl3
595
package com.trilead.ssh2.packets; import java.io.IOException; /** * PacketChannelOpenConfirmation. * * @author Christian Plattner, plattner@trilead.com * @version $Id: PacketChannelOpenConfirmation.java,v 1.1 2007/10/15 12:49:55 * cplattne Exp $ */ public class PacketChannelOpenConfirmation...
07pratik-mysshpratik
src/com/trilead/ssh2/packets/PacketChannelOpenConfirmation.java
Java
gpl3
1,901
package com.trilead.ssh2.packets; import java.io.IOException; import java.security.SecureRandom; import com.trilead.ssh2.crypto.CryptoWishList; import com.trilead.ssh2.transport.KexParameters; /** * PacketKexInit. * * @author Christian Plattner, plattner@trilead.com * @version $Id: PacketKexInit.jav...
07pratik-mysshpratik
src/com/trilead/ssh2/packets/PacketKexInit.java
Java
gpl3
4,736
package com.trilead.ssh2.packets; /** * PacketGlobalTrileadPing. * * @author Christian Plattner, plattner@trilead.com * @version $Id: PacketGlobalTrileadPing.java,v 1.1 2008/03/03 07:01:36 cplattne * Exp $ */ public class PacketGlobalTrileadPing { byte[] payload; public PacketGlobalTrile...
07pratik-mysshpratik
src/com/trilead/ssh2/packets/PacketGlobalTrileadPing.java
Java
gpl3
612
package com.trilead.ssh2.packets; /** * PacketGlobalForwardRequest. * * @author Christian Plattner, plattner@trilead.com * @version $Id: PacketGlobalForwardRequest.java,v 1.1 2007/10/15 12:49:55 * cplattne Exp $ */ public class PacketGlobalForwardRequest { byte[] payload; public boolean ...
07pratik-mysshpratik
src/com/trilead/ssh2/packets/PacketGlobalForwardRequest.java
Java
gpl3
925
package com.trilead.ssh2; import java.io.IOException; import java.net.InetSocketAddress; import com.trilead.ssh2.channel.ChannelManager; import com.trilead.ssh2.channel.LocalAcceptThread; /** * A <code>LocalPortForwarder</code> forwards TCP/IP connections to a local port * via the secure tunnel to anothe...
07pratik-mysshpratik
src/com/trilead/ssh2/LocalPortForwarder.java
Java
gpl3
1,693
package com.trilead.ssh2; import java.io.CharArrayWriter; import java.io.File; import java.io.FileReader; import java.io.IOException; import java.net.InetSocketAddress; import java.net.SocketTimeoutException; import java.security.SecureRandom; import java.util.Vector; import com.trilead.ssh2.auth.Authentic...
07pratik-mysshpratik
src/com/trilead/ssh2/Connection.java
Java
gpl3
56,886
package com.trilead.ssh2; /** * A callback interface used to implement a client specific method of checking * server host keys. * * @author Christian Plattner, plattner@trilead.com * @version $Id: ServerHostKeyVerifier.java,v 1.1 2007/10/15 12:49:56 cplattne * Exp $ */ public interface Ser...
07pratik-mysshpratik
src/com/trilead/ssh2/ServerHostKeyVerifier.java
Java
gpl3
1,376
package com.trilead.ssh2.auth; import java.io.IOException; import java.security.SecureRandom; import java.util.Vector; import com.trilead.ssh2.InteractiveCallback; import com.trilead.ssh2.crypto.PEMDecoder; import com.trilead.ssh2.packets.PacketServiceAccept; import com.trilead.ssh2.packets.PacketServiceRequ...
07pratik-mysshpratik
src/com/trilead/ssh2/auth/AuthenticationManager.java
Java
gpl3
11,405
package com.trilead.ssh2; import java.io.IOException; import java.io.InputStream; /** * A <code>StreamGobbler</code> is an InputStream that uses an internal worker * thread to constantly consume input from another InputStream. It uses a buffer * to store the consumed data. The buffer size is automatically ...
07pratik-mysshpratik
src/com/trilead/ssh2/StreamGobbler.java
Java
gpl3
5,357
package com.trilead.ssh2; import java.io.IOException; import java.io.InputStream; import java.io.OutputStream; import java.security.SecureRandom; import com.trilead.ssh2.channel.Channel; import com.trilead.ssh2.channel.ChannelManager; import com.trilead.ssh2.channel.X11ServerData; /** * A <code>Session<...
07pratik-mysshpratik
src/com/trilead/ssh2/Session.java
Java
gpl3
17,597
package com.trilead.ssh2; import java.io.BufferedReader; import java.io.CharArrayReader; import java.io.CharArrayWriter; import java.io.File; import java.io.FileReader; import java.io.IOException; import java.io.RandomAccessFile; import java.io.UnsupportedEncodingException; import java.net.InetAddress; impo...
07pratik-mysshpratik
src/com/trilead/ssh2/KnownHosts.java
Java
gpl3
22,699
package com.trilead.ssh2; import java.io.IOException; import com.trilead.ssh2.sftp.ErrorCodes; /** * Used in combination with the SFTPv3Client. This exception wraps error * messages sent by the SFTP server. * * @author Christian Plattner, plattner@trilead.com * @version $Id: SFTPException.java,v 1.1...
07pratik-mysshpratik
src/com/trilead/ssh2/SFTPException.java
Java
gpl3
2,136
package com.trilead.ssh2; import java.io.IOException; import java.io.InputStream; import java.io.OutputStream; import com.trilead.ssh2.channel.Channel; import com.trilead.ssh2.channel.ChannelManager; import com.trilead.ssh2.channel.LocalAcceptThread; /** * A <code>LocalStreamForwarder</code> forwards an ...
07pratik-mysshpratik
src/com/trilead/ssh2/LocalStreamForwarder.java
Java
gpl3
2,360
/* * ConnectBot: simple, powerful, open-source SSH client for Android * Copyright 2007 Kenny Root, Jeffrey Sharkey * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.a...
07pratik-mysshpratik
src/com/trilead/ssh2/DynamicPortForwarder.java
Java
gpl3
1,806
package com.trilead.ssh2.channel; /** * IChannelWorkerThread. * * @author Christian Plattner, plattner@trilead.com * @version $Id: IChannelWorkerThread.java,v 1.1 2007/10/15 12:49:56 cplattne * Exp $ */ interface IChannelWorkerThread { public void stopWorking(); }
07pratik-mysshpratik
src/com/trilead/ssh2/channel/IChannelWorkerThread.java
Java
gpl3
295
package com.trilead.ssh2.channel; import java.io.IOException; import java.io.InputStream; import java.io.OutputStream; import java.net.Socket; import com.trilead.ssh2.log.Logger; /** * RemoteX11AcceptThread. * * @author Christian Plattner, plattner@trilead.com * @version $Id: RemoteX11AcceptThread....
07pratik-mysshpratik
src/com/trilead/ssh2/channel/RemoteX11AcceptThread.java
Java
gpl3
7,337
package com.trilead.ssh2.channel; import java.io.IOException; import java.util.HashMap; import java.util.Vector; import com.trilead.ssh2.AuthAgentCallback; import com.trilead.ssh2.ChannelCondition; import com.trilead.ssh2.log.Logger; import com.trilead.ssh2.packets.PacketChannelAuthAgentReq; import com.tril...
07pratik-mysshpratik
src/com/trilead/ssh2/channel/ChannelManager.java
Java
gpl3
47,985
package com.trilead.ssh2.channel; /** * RemoteForwardingData. Data about a requested remote forwarding. * * @author Christian Plattner, plattner@trilead.com * @version $Id: RemoteForwardingData.java,v 1.1 2007/10/15 12:49:56 cplattne * Exp $ */ public class RemoteForwardingData { public Stri...
07pratik-mysshpratik
src/com/trilead/ssh2/channel/RemoteForwardingData.java
Java
gpl3
407
package com.trilead.ssh2.channel; /** * Channel. * * @author Christian Plattner, plattner@trilead.com * @version $Id: Channel.java,v 1.1 2007/10/15 12:49:56 cplattne Exp $ */ public class Channel { /* * OK. Here is an important part of the JVM Specification: * (http://java.sun.com * /docs/book...
07pratik-mysshpratik
src/com/trilead/ssh2/channel/Channel.java
Java
gpl3
6,188
package com.trilead.ssh2.channel; import java.io.IOException; import java.io.InputStream; /** * ChannelInputStream. * * @author Christian Plattner, plattner@trilead.com * @version $Id: ChannelInputStream.java,v 1.1 2007/10/15 12:49:56 cplattne Exp * $ */ public final class ChannelInputStre...
07pratik-mysshpratik
src/com/trilead/ssh2/channel/ChannelInputStream.java
Java
gpl3
1,706
/* * ConnectBot: simple, powerful, open-source SSH client for Android * Copyright 2007 Kenny Root, Jeffrey Sharkey * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.a...
07pratik-mysshpratik
src/com/trilead/ssh2/channel/AuthAgentForwardThread.java
Java
gpl3
10,708
package com.trilead.ssh2.channel; import java.io.IOException; import java.io.OutputStream; /** * ChannelOutputStream. * * @author Christian Plattner, plattner@trilead.com * @version $Id: ChannelOutputStream.java,v 1.1 2007/10/15 12:49:56 cplattne Exp * $ */ public final class ChannelOutput...
07pratik-mysshpratik
src/com/trilead/ssh2/channel/ChannelOutputStream.java
Java
gpl3
1,508
package com.trilead.ssh2.channel; import java.io.IOException; import java.net.InetSocketAddress; import java.net.ServerSocket; import java.net.Socket; /** * LocalAcceptThread. * * @author Christian Plattner, plattner@trilead.com * @version $Id: LocalAcceptThread.java,v 1.1 2007/10/15 12:49:56 cplattne...
07pratik-mysshpratik
src/com/trilead/ssh2/channel/LocalAcceptThread.java
Java
gpl3
2,834
/* * ConnectBot: simple, powerful, open-source SSH client for Android * Copyright 2007 Kenny Root, Jeffrey Sharkey * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.a...
07pratik-mysshpratik
src/com/trilead/ssh2/channel/DynamicAcceptThread.java
Java
gpl3
7,544
package com.trilead.ssh2.channel; import java.io.IOException; import java.net.Socket; import com.trilead.ssh2.log.Logger; /** * RemoteAcceptThread. * * @author Christian Plattner, plattner@trilead.com * @version $Id: RemoteAcceptThread.java,v 1.1 2007/10/15 12:49:56 cplattne Exp * $ */ ...
07pratik-mysshpratik
src/com/trilead/ssh2/channel/RemoteAcceptThread.java
Java
gpl3
2,505
package com.trilead.ssh2.channel; /** * X11ServerData. Data regarding an x11 forwarding target. * * @author Christian Plattner, plattner@trilead.com * @version $Id: X11ServerData.java,v 1.1 2007/10/15 12:49:56 cplattne Exp $ * */ public class X11ServerData { public String hostname; public int port...
07pratik-mysshpratik
src/com/trilead/ssh2/channel/X11ServerData.java
Java
gpl3
451
package com.trilead.ssh2.channel; import java.io.IOException; import java.io.InputStream; import java.io.OutputStream; import java.net.Socket; /** * A StreamForwarder forwards data between two given streams. If two * StreamForwarder threads are used (one for each direction) then one can be * configured t...
07pratik-mysshpratik
src/com/trilead/ssh2/channel/StreamForwarder.java
Java
gpl3
1,975
package com.trilead.ssh2; /** * An interface which needs to be implemented if you want to capture debugging * messages. * * @see Connection#enableDebugging(boolean, DebugLogger) * * @author Christian Plattner, plattner@trilead.com * @version $Id: DebugLogger.java,v 1.1 2008/03/03 07:01:36 cplattne Ex...
07pratik-mysshpratik
src/com/trilead/ssh2/DebugLogger.java
Java
gpl3
675
package com.trilead.ssh2.log; import com.trilead.ssh2.DebugLogger; /** * Logger - a very simple logger, mainly used during development. Is not based * on log4j (to reduce external dependencies). However, if needed, something * like log4j could easily be hooked in. * <p> * For speed reasons, the static v...
07pratik-mysshpratik
src/com/trilead/ssh2/log/Logger.java
Java
gpl3
1,173
package com.trilead.ssh2.signature; import java.math.BigInteger; /** * RSAPublicKey. * * @author Christian Plattner, plattner@trilead.com * @version $Id: RSAPublicKey.java,v 1.1 2007/10/15 12:49:57 cplattne Exp $ */ public class RSAPublicKey { BigInteger e; BigInteger n; public RSAPublicKey(Bi...
07pratik-mysshpratik
src/com/trilead/ssh2/signature/RSAPublicKey.java
Java
gpl3
480
package com.trilead.ssh2.signature; import java.io.IOException; import java.math.BigInteger; import java.security.SecureRandom; import com.trilead.ssh2.crypto.digest.SHA1; import com.trilead.ssh2.log.Logger; import com.trilead.ssh2.packets.TypesReader; import com.trilead.ssh2.packets.TypesWriter; /** * ...
07pratik-mysshpratik
src/com/trilead/ssh2/signature/DSASHA1Verify.java
Java
gpl3
5,559
package com.trilead.ssh2.signature; import java.math.BigInteger; /** * RSAPrivateKey. * * @author Christian Plattner, plattner@trilead.com * @version $Id: RSAPrivateKey.java,v 1.1 2007/10/15 12:49:57 cplattne Exp $ */ public class RSAPrivateKey { private BigInteger d; private BigInteger e; priva...
07pratik-mysshpratik
src/com/trilead/ssh2/signature/RSAPrivateKey.java
Java
gpl3
680
package com.trilead.ssh2.signature; import java.math.BigInteger; /** * DSAPublicKey. * * @author Christian Plattner, plattner@trilead.com * @version $Id: DSAPublicKey.java,v 1.1 2007/10/15 12:49:57 cplattne Exp $ */ public class DSAPublicKey { private BigInteger p; private BigInteger q; private ...
07pratik-mysshpratik
src/com/trilead/ssh2/signature/DSAPublicKey.java
Java
gpl3
698
package com.trilead.ssh2.signature; import java.math.BigInteger; /** * RSASignature. * * @author Christian Plattner, plattner@trilead.com * @version $Id: RSASignature.java,v 1.1 2007/10/15 12:49:57 cplattne Exp $ */ public class RSASignature { BigInteger s; public RSASignature(BigInteger s) { ...
07pratik-mysshpratik
src/com/trilead/ssh2/signature/RSASignature.java
Java
gpl3
389
package com.trilead.ssh2.signature; import java.io.IOException; import java.math.BigInteger; import com.trilead.ssh2.crypto.SimpleDERReader; import com.trilead.ssh2.crypto.digest.SHA1; import com.trilead.ssh2.log.Logger; import com.trilead.ssh2.packets.TypesReader; import com.trilead.ssh2.packets.TypesWriter...
07pratik-mysshpratik
src/com/trilead/ssh2/signature/RSASHA1Verify.java
Java
gpl3
7,191
package com.trilead.ssh2.signature; import java.math.BigInteger; /** * DSAPrivateKey. * * @author Christian Plattner, plattner@trilead.com * @version $Id: DSAPrivateKey.java,v 1.1 2007/10/15 12:49:57 cplattne Exp $ */ public class DSAPrivateKey { private BigInteger p; private BigInteger q; priva...
07pratik-mysshpratik
src/com/trilead/ssh2/signature/DSAPrivateKey.java
Java
gpl3
892
package com.trilead.ssh2.signature; import java.math.BigInteger; /** * DSASignature. * * @author Christian Plattner, plattner@trilead.com * @version $Id: DSASignature.java,v 1.1 2007/10/15 12:49:57 cplattne Exp $ */ public class DSASignature { private BigInteger r; private BigInteger s; public...
07pratik-mysshpratik
src/com/trilead/ssh2/signature/DSASignature.java
Java
gpl3
498
package com.trilead.ssh2; /** * Contains constants that can be used to specify what conditions to wait for on * a SSH-2 channel (e.g., represented by a {@link Session}). * * @see Session#waitForCondition(int, long) * * @author Christian Plattner, plattner@trilead.com * @version $Id: ChannelCondition....
07pratik-mysshpratik
src/com/trilead/ssh2/ChannelCondition.java
Java
gpl3
2,009
package com.trilead.ssh2; /** * A <code>HTTPProxyData</code> object is used to specify the needed connection * data to connect through a HTTP proxy. * * @see Connection#setProxyData(ProxyData) * * @author Christian Plattner, plattner@trilead.com * @version $Id: HTTPProxyData.java,v 1.1 2007/10/15 12:...
07pratik-mysshpratik
src/com/trilead/ssh2/HTTPProxyData.java
Java
gpl3
3,475
package com.trilead.ssh2.transport; import java.io.IOException; import java.io.InputStream; import java.io.OutputStream; import java.net.InetAddress; import java.net.InetSocketAddress; import java.net.Socket; import java.net.UnknownHostException; import java.security.SecureRandom; import java.util.Vector; ...
07pratik-mysshpratik
src/com/trilead/ssh2/transport/TransportManager.java
Java
gpl3
19,525
package com.trilead.ssh2.transport; /** * NegotiateException. * * @author Christian Plattner, plattner@trilead.com * @version $Id: NegotiateException.java,v 1.1 2007/10/15 12:49:56 cplattne Exp * $ */ public class NegotiateException extends Exception { private static final long serialVersion...
07pratik-mysshpratik
src/com/trilead/ssh2/transport/NegotiateException.java
Java
gpl3
352
package com.trilead.ssh2.transport; import java.io.IOException; /** * MessageHandler. * * @author Christian Plattner, plattner@trilead.com * @version $Id: MessageHandler.java,v 1.1 2007/10/15 12:49:56 cplattne Exp $ */ public interface MessageHandler { public void handleMessage(byte[] msg, int msgle...
07pratik-mysshpratik
src/com/trilead/ssh2/transport/MessageHandler.java
Java
gpl3
347
package com.trilead.ssh2.transport; import java.io.IOException; import java.io.InputStream; import java.io.OutputStream; import java.io.UnsupportedEncodingException; import com.trilead.ssh2.Connection; /** * ClientServerHello. * * @author Christian Plattner, plattner@trilead.com * @version $Id: Cli...
07pratik-mysshpratik
src/com/trilead/ssh2/transport/ClientServerHello.java
Java
gpl3
2,724
package com.trilead.ssh2.transport; import java.io.IOException; import java.io.InputStream; import java.io.OutputStream; import java.security.SecureRandom; import com.trilead.ssh2.compression.ICompressor; import com.trilead.ssh2.crypto.cipher.BlockCipher; import com.trilead.ssh2.crypto.cipher.CipherInputStre...
07pratik-mysshpratik
src/com/trilead/ssh2/transport/TransportConnection.java
Java
gpl3
9,574
package com.trilead.ssh2.transport; /** * NegotiatedParameters. * * @author Christian Plattner, plattner@trilead.com * @version $Id: NegotiatedParameters.java,v 1.1 2007/10/15 12:49:57 cplattne * Exp $ */ public class NegotiatedParameters { public boolean guessOK; public String kex_algo; ...
07pratik-mysshpratik
src/com/trilead/ssh2/transport/NegotiatedParameters.java
Java
gpl3
699
package com.trilead.ssh2.transport; import java.io.IOException; import java.security.SecureRandom; import com.trilead.ssh2.ConnectionInfo; import com.trilead.ssh2.DHGexParameters; import com.trilead.ssh2.ServerHostKeyVerifier; import com.trilead.ssh2.compression.CompressionFactory; import com.trilead.ssh2.co...
07pratik-mysshpratik
src/com/trilead/ssh2/transport/KexManager.java
Java
gpl3
18,717
package com.trilead.ssh2.transport; /** * KexParameters. * * @author Christian Plattner, plattner@trilead.com * @version $Id: KexParameters.java,v 1.1 2007/10/15 12:49:56 cplattne Exp $ */ public class KexParameters { public byte[] cookie; public String[] kex_algorithms; public String[] server_host...
07pratik-mysshpratik
src/com/trilead/ssh2/transport/KexParameters.java
Java
gpl3
842
package com.trilead.ssh2.transport; import java.math.BigInteger; import com.trilead.ssh2.DHGexParameters; import com.trilead.ssh2.crypto.dh.DhExchange; import com.trilead.ssh2.crypto.dh.DhGroupExchange; import com.trilead.ssh2.packets.PacketKexInit; /** * KexState. * * @author Christian Plattner, pla...
07pratik-mysshpratik
src/com/trilead/ssh2/transport/KexState.java
Java
gpl3
741
package com.trilead.ssh2; /** * In most cases you probably do not need the information contained in here. * * @author Christian Plattner, plattner@trilead.com * @version $Id: ConnectionInfo.java,v 1.1 2007/10/15 12:49:56 cplattne Exp $ */ public class ConnectionInfo { /** * The used key exchange (KE...
07pratik-mysshpratik
src/com/trilead/ssh2/ConnectionInfo.java
Java
gpl3
1,375
package com.trilead.ssh2.crypto.cipher; /* This file was shamelessly taken from the Bouncy Castle Crypto package. Their licence file states the following: Copyright (c) 2000 - 2004 The Legion Of The Bouncy Castle (http://www.bouncycastle.org) Permission is hereby granted, free of charge, to any person ...
07pratik-mysshpratik
src/com/trilead/ssh2/crypto/cipher/AES.java
Java
gpl3
46,604