Closed
Description
I am hobbyist programmer. I am getting error using Renci.SshNet. It gives me following error at statement sshclient.Connect();
System.Net.Sockets.SocketException:'The attempted operation is not supported for the type of object referenced'
My code is
private void Rstbutton_Click(object sender, RoutedEventArgs e)
{
s_ipaddr = IPAddr.Text;
s_username = UsernameBox.Text;
s_password = PassBox.Password.ToString();
SecureString myPass = PassBox.SecurePassword;
using (var sshclient = new SshClient(s_ipaddr, s_username, s_password))
{
sshclient.Connect();
}
}
I am using Renci.SshNet.dll directly in the reference no installation from Nuget.
Metadata
Metadata
Assignees
Labels
No labels