Beginning to configure SshClient for docker instance
This commit is contained in:
@@ -28,11 +28,11 @@ namespace LeafWeb.Core.Tests.Remote
|
||||
}
|
||||
};
|
||||
|
||||
/// <summary>
|
||||
/// Define in machine.config
|
||||
/// </summary>
|
||||
/// <example>host=[url]; username=[un]; password=[pw]</example>
|
||||
private readonly string _piscalConnectionString =
|
||||
/// <summary>
|
||||
/// Define in machine.config
|
||||
/// </summary>
|
||||
/// <example>host=[url]; port=22; username=[un]; password=[pw]</example>
|
||||
private readonly string _piscalConnectionString =
|
||||
ConfigurationManager.ConnectionStrings["PiscalServer"].ConnectionString;
|
||||
|
||||
private PiscalSshClient GetTestClient()
|
||||
|
||||
@@ -16,4 +16,7 @@
|
||||
</dependentAssembly>
|
||||
</assemblyBinding>
|
||||
</runtime>
|
||||
<connectionStrings>
|
||||
<add name="PiscalServer" connectionString="host=192.168.1.4; port=2222; username=launcher; password=launcher" />
|
||||
</connectionStrings>
|
||||
</configuration>
|
||||
Reference in New Issue
Block a user