|  | @@ -42,7 +42,7 @@ namespace Renci.SshNet
 | 
											
												
													
														|  |          /// <param name="username">Connection username.</param>
 |  |          /// <param name="username">Connection username.</param>
 | 
											
												
													
														|  |          /// <param name="keyFiles">Connection key files.</param>
 |  |          /// <param name="keyFiles">Connection key files.</param>
 | 
											
												
													
														|  |          public PrivateKeyConnectionInfo(string host, string username, params PrivateKeyFile[] keyFiles)
 |  |          public PrivateKeyConnectionInfo(string host, string username, params PrivateKeyFile[] keyFiles)
 | 
											
												
													
														|  | -            : this(host, 22, username, keyFiles)
 |  | 
 | 
											
												
													
														|  | 
 |  | +            : this(host, 22, username, ProxyTypes.None, string.Empty, 0, string.Empty, string.Empty, keyFiles)
 | 
											
												
													
														|  |          {
 |  |          {
 | 
											
												
													
														|  |  
 |  |  
 | 
											
												
													
														|  |          }
 |  |          }
 | 
											
										
											
												
													
														|  | @@ -55,7 +55,100 @@ namespace Renci.SshNet
 | 
											
												
													
														|  |          /// <param name="username">Connection username.</param>
 |  |          /// <param name="username">Connection username.</param>
 | 
											
												
													
														|  |          /// <param name="keyFiles">Connection key files.</param>
 |  |          /// <param name="keyFiles">Connection key files.</param>
 | 
											
												
													
														|  |          public PrivateKeyConnectionInfo(string host, int port, string username, params PrivateKeyFile[] keyFiles)
 |  |          public PrivateKeyConnectionInfo(string host, int port, string username, params PrivateKeyFile[] keyFiles)
 | 
											
												
													
														|  | -            : base(host, port, username)
 |  | 
 | 
											
												
													
														|  | 
 |  | +            : this(host, port, username, ProxyTypes.None, string.Empty, 0, string.Empty, string.Empty, keyFiles)
 | 
											
												
													
														|  | 
 |  | +        {
 | 
											
												
													
														|  | 
 |  | +        }
 | 
											
												
													
														|  | 
 |  | +
 | 
											
												
													
														|  | 
 |  | +        /// <summary>
 | 
											
												
													
														|  | 
 |  | +        /// Initializes a new instance of the <see cref="PasswordConnectionInfo"/> class.
 | 
											
												
													
														|  | 
 |  | +        /// </summary>
 | 
											
												
													
														|  | 
 |  | +        /// <param name="host">Connection host.</param>
 | 
											
												
													
														|  | 
 |  | +        /// <param name="port">The port.</param>
 | 
											
												
													
														|  | 
 |  | +        /// <param name="username">Connection username.</param>
 | 
											
												
													
														|  | 
 |  | +        /// <param name="proxyType">Type of the proxy.</param>
 | 
											
												
													
														|  | 
 |  | +        /// <param name="proxyHost">The proxy host.</param>
 | 
											
												
													
														|  | 
 |  | +        /// <param name="proxyPort">The proxy port.</param>
 | 
											
												
													
														|  | 
 |  | +        /// <param name="keyFiles">The key files.</param>
 | 
											
												
													
														|  | 
 |  | +        public PrivateKeyConnectionInfo(string host, int port, string username, ProxyTypes proxyType, string proxyHost, int proxyPort, params PrivateKeyFile[] keyFiles)
 | 
											
												
													
														|  | 
 |  | +            : this(host, port, username, proxyType, proxyHost, proxyPort, string.Empty, string.Empty, keyFiles)
 | 
											
												
													
														|  | 
 |  | +        {
 | 
											
												
													
														|  | 
 |  | +        }
 | 
											
												
													
														|  | 
 |  | +
 | 
											
												
													
														|  | 
 |  | +        /// <summary>
 | 
											
												
													
														|  | 
 |  | +        /// Initializes a new instance of the <see cref="PasswordConnectionInfo"/> class.
 | 
											
												
													
														|  | 
 |  | +        /// </summary>
 | 
											
												
													
														|  | 
 |  | +        /// <param name="host">Connection host.</param>
 | 
											
												
													
														|  | 
 |  | +        /// <param name="port">The port.</param>
 | 
											
												
													
														|  | 
 |  | +        /// <param name="username">Connection username.</param>
 | 
											
												
													
														|  | 
 |  | +        /// <param name="proxyType">Type of the proxy.</param>
 | 
											
												
													
														|  | 
 |  | +        /// <param name="proxyHost">The proxy host.</param>
 | 
											
												
													
														|  | 
 |  | +        /// <param name="proxyPort">The proxy port.</param>
 | 
											
												
													
														|  | 
 |  | +        /// <param name="proxyUsername">The proxy username.</param>
 | 
											
												
													
														|  | 
 |  | +        /// <param name="keyFiles">The key files.</param>
 | 
											
												
													
														|  | 
 |  | +        public PrivateKeyConnectionInfo(string host, int port, string username, ProxyTypes proxyType, string proxyHost, int proxyPort, string proxyUsername, params PrivateKeyFile[] keyFiles)
 | 
											
												
													
														|  | 
 |  | +            : this(host, port, username, proxyType, proxyHost, proxyPort, proxyUsername, string.Empty, keyFiles)
 | 
											
												
													
														|  | 
 |  | +        {
 | 
											
												
													
														|  | 
 |  | +        }
 | 
											
												
													
														|  | 
 |  | +
 | 
											
												
													
														|  | 
 |  | +        /// <summary>
 | 
											
												
													
														|  | 
 |  | +        /// Initializes a new instance of the <see cref="PasswordConnectionInfo"/> class.
 | 
											
												
													
														|  | 
 |  | +        /// </summary>
 | 
											
												
													
														|  | 
 |  | +        /// <param name="host">Connection host.</param>
 | 
											
												
													
														|  | 
 |  | +        /// <param name="username">Connection username.</param>
 | 
											
												
													
														|  | 
 |  | +        /// <param name="proxyType">Type of the proxy.</param>
 | 
											
												
													
														|  | 
 |  | +        /// <param name="proxyHost">The proxy host.</param>
 | 
											
												
													
														|  | 
 |  | +        /// <param name="proxyPort">The proxy port.</param>
 | 
											
												
													
														|  | 
 |  | +        /// <param name="keyFiles">The key files.</param>
 | 
											
												
													
														|  | 
 |  | +        public PrivateKeyConnectionInfo(string host, string username, ProxyTypes proxyType, string proxyHost, int proxyPort, params PrivateKeyFile[] keyFiles)
 | 
											
												
													
														|  | 
 |  | +            : this(host, 22, username, proxyType, proxyHost, proxyPort, string.Empty, string.Empty, keyFiles)
 | 
											
												
													
														|  | 
 |  | +        {
 | 
											
												
													
														|  | 
 |  | +        }
 | 
											
												
													
														|  | 
 |  | +
 | 
											
												
													
														|  | 
 |  | +        /// <summary>
 | 
											
												
													
														|  | 
 |  | +        /// Initializes a new instance of the <see cref="PasswordConnectionInfo"/> class.
 | 
											
												
													
														|  | 
 |  | +        /// </summary>
 | 
											
												
													
														|  | 
 |  | +        /// <param name="host">Connection host.</param>
 | 
											
												
													
														|  | 
 |  | +        /// <param name="username">Connection username.</param>
 | 
											
												
													
														|  | 
 |  | +        /// <param name="proxyType">Type of the proxy.</param>
 | 
											
												
													
														|  | 
 |  | +        /// <param name="proxyHost">The proxy host.</param>
 | 
											
												
													
														|  | 
 |  | +        /// <param name="proxyPort">The proxy port.</param>
 | 
											
												
													
														|  | 
 |  | +        /// <param name="proxyUsername">The proxy username.</param>
 | 
											
												
													
														|  | 
 |  | +        /// <param name="keyFiles">The key files.</param>
 | 
											
												
													
														|  | 
 |  | +        public PrivateKeyConnectionInfo(string host, string username, ProxyTypes proxyType, string proxyHost, int proxyPort, string proxyUsername, params PrivateKeyFile[] keyFiles)
 | 
											
												
													
														|  | 
 |  | +            : this(host, 22, username, proxyType, proxyHost, proxyPort, proxyUsername, string.Empty, keyFiles)
 | 
											
												
													
														|  | 
 |  | +        {
 | 
											
												
													
														|  | 
 |  | +        }
 | 
											
												
													
														|  | 
 |  | +
 | 
											
												
													
														|  | 
 |  | +        /// <summary>
 | 
											
												
													
														|  | 
 |  | +        /// Initializes a new instance of the <see cref="PasswordConnectionInfo"/> class.
 | 
											
												
													
														|  | 
 |  | +        /// </summary>
 | 
											
												
													
														|  | 
 |  | +        /// <param name="host">Connection host.</param>
 | 
											
												
													
														|  | 
 |  | +        /// <param name="username">Connection username.</param>
 | 
											
												
													
														|  | 
 |  | +        /// <param name="proxyType">Type of the proxy.</param>
 | 
											
												
													
														|  | 
 |  | +        /// <param name="proxyHost">The proxy host.</param>
 | 
											
												
													
														|  | 
 |  | +        /// <param name="proxyPort">The proxy port.</param>
 | 
											
												
													
														|  | 
 |  | +        /// <param name="proxyUsername">The proxy username.</param>
 | 
											
												
													
														|  | 
 |  | +        /// <param name="proxyPassword">The proxy password.</param>
 | 
											
												
													
														|  | 
 |  | +        /// <param name="keyFiles">The key files.</param>
 | 
											
												
													
														|  | 
 |  | +        public PrivateKeyConnectionInfo(string host, string username, ProxyTypes proxyType, string proxyHost, int proxyPort, string proxyUsername, string proxyPassword, params PrivateKeyFile[] keyFiles)
 | 
											
												
													
														|  | 
 |  | +            : this(host, 22, username, proxyType, proxyHost, proxyPort, proxyUsername, proxyPassword, keyFiles)
 | 
											
												
													
														|  | 
 |  | +        {
 | 
											
												
													
														|  | 
 |  | +        }
 | 
											
												
													
														|  | 
 |  | +
 | 
											
												
													
														|  | 
 |  | +        /// <summary>
 | 
											
												
													
														|  | 
 |  | +        /// Initializes a new instance of the <see cref="PasswordConnectionInfo"/> class.
 | 
											
												
													
														|  | 
 |  | +        /// </summary>
 | 
											
												
													
														|  | 
 |  | +        /// <param name="host">Connection host.</param>
 | 
											
												
													
														|  | 
 |  | +        /// <param name="port">The port.</param>
 | 
											
												
													
														|  | 
 |  | +        /// <param name="username">Connection username.</param>
 | 
											
												
													
														|  | 
 |  | +        /// <param name="proxyType">Type of the proxy.</param>
 | 
											
												
													
														|  | 
 |  | +        /// <param name="proxyHost">The proxy host.</param>
 | 
											
												
													
														|  | 
 |  | +        /// <param name="proxyPort">The proxy port.</param>
 | 
											
												
													
														|  | 
 |  | +        /// <param name="proxyUsername">The proxy username.</param>
 | 
											
												
													
														|  | 
 |  | +        /// <param name="proxyPassword">The proxy password.</param>
 | 
											
												
													
														|  | 
 |  | +        /// <param name="keyFiles">The key files.</param>
 | 
											
												
													
														|  | 
 |  | +        public PrivateKeyConnectionInfo(string host, int port, string username, ProxyTypes proxyType, string proxyHost, int proxyPort, string proxyUsername, string proxyPassword, params PrivateKeyFile[] keyFiles)
 | 
											
												
													
														|  | 
 |  | +            : base(host, port, username, proxyType, proxyHost, proxyPort, proxyUsername, proxyPassword)
 | 
											
												
													
														|  |          {
 |  |          {
 | 
											
												
													
														|  |              this.KeyFiles = new Collection<PrivateKeyFile>(keyFiles);
 |  |              this.KeyFiles = new Collection<PrivateKeyFile>(keyFiles);
 | 
											
												
													
														|  |          }
 |  |          }
 |