New Post: Connecting to OpenSSH server
I have set up an OpenSSH server and try to connect using the following code:var connectionInfo = new ConnectionInfo(host, 22, username, new PasswordAuthenticationMethod(username, password)); //var...
View ArticleNew Post: Connecting to OpenSSH server
Hi, I would suggest try different authentication method like KeyboardInteractive since sometimes putty will use this method even so it looks like it uses username/password combination. Also, please...
View ArticleNew Post: SCP Upload to Cisco Firewall
Hi, My suspicion would be that Cisco implementation renames its file since there is nothing in the code that would do something like that. I know that Cisco implement SSH differently and SCP protocol...
View ArticleCreated Issue: Seeing a protected memory exception [1549]
I am seeing a protected memory exception when connecting to device.```Attempted to read or write protected memory. This is often an indication that other memory is corrupt. at...
View ArticleNew Post: SCP Upload to Cisco Firewall
When I use PSCP, I use this command and it maintains the file name:pscp -pw PASSWORD testfilemay2.xml USERNAME@IPADDRESS: I don't actually specify a filename to upload. The is what Cisco has to say...
View ArticleCreated Issue: SFTP: Uploading Files to the FTP Server has Inconsistent...
__Method Name:__ UploadFile()__Issue:__ Files Uploaded to FTP Server has Inconsistent BehaviorI am trying to upload the file from local path to the ftp server, there is no exceptions in the...
View ArticleNew Post: SFTP: Uploading Files to the FTP Server has Inconsistent Behavior
Method Name: UploadFile()Issue: Files Uploaded to FTP Server has Inconsistent Behavior I am trying to upload the file from local path to the ftp server, there is no exceptions in the uploadFile()...
View ArticleNew Post: Request for the permission of type 'System.Net.DnsPermission,
I am trying to connect to an sftp server in a .NET soap webservice. When trying to connect I get the exception:Request for the permission of type 'System.Net.DnsPermission, System, Version=2.0.0.0,...
View ArticleCreated Issue: Thread-safe event handling [1551]
Consider rewriting this: if (this.ErrorOccurred != null){ this.ErrorOccurred(this, e);}Into:var handler = ErrorOccurred;if (handler != null){ handler(this, e);}
View ArticleCreated Issue: Consider killing off the TaskFactory [1552]
We are moving to NServiceBus for some of our parts of the software, and suddenly the library stopped working (connection timeouts). So after a few hours of double checking everything, I decided to...
View ArticleCommented Issue: Thread-safe event handling [1551]
Consider rewriting this: if (this.ErrorOccurred != null){ this.ErrorOccurred(this, e);}Into:var handler = ErrorOccurred;if (handler != null){ handler(this, e);}Comments: ** Comment from web user:...
View ArticleSource code checked in, #24900
Improve thread-safe event handling Replace Task.Factory.StartNew with ThreadPool.QueueUserWorkItem
View ArticleCommented Issue: Consider killing off the TaskFactory [1552]
We are moving to NServiceBus for some of our parts of the software, and suddenly the library stopped working (connection timeouts). So after a few hours of double checking everything, I decided to...
View ArticleClosed Issue: Consider killing off the TaskFactory [1552]
We are moving to NServiceBus for some of our parts of the software, and suddenly the library stopped working (connection timeouts). So after a few hours of double checking everything, I decided to...
View ArticleCommented Issue: Thread-safe event handling [1551]
Consider rewriting this: if (this.ErrorOccurred != null){ this.ErrorOccurred(this, e);}Into:var handler = ErrorOccurred;if (handler != null){ handler(this, e);}Comments: ** Comment from web user:...
View ArticleClosed Issue: Thread-safe event handling [1551]
Consider rewriting this: if (this.ErrorOccurred != null){ this.ErrorOccurred(this, e);}Into:var handler = ErrorOccurred;if (handler != null){ handler(this, e);}Comments: Fixed in 24900
View ArticleNew Post: Request for the permission of type 'System.Net.DnsPermission,
I think this is because assembly doesn't have this permission. I am not sure how but I think there is a way to add this permission in App.config or application. Hope it helps, Thanks, Oleg
View ArticleNew Post: SFTP: Uploading Files to the FTP Server has Inconsistent Behavior
Hi, Do you upload to SFTP of FTP server? Thanks, Oleg
View ArticleCommented Issue: Thread-safe event handling [1551]
Consider rewriting this: if (this.ErrorOccurred != null){ this.ErrorOccurred(this, e);}Into:var handler = ErrorOccurred;if (handler != null){ handler(this, e);}Comments: ** Comment from web user:...
View ArticleCommented Issue: Consider killing off the TaskFactory [1552]
We are moving to NServiceBus for some of our parts of the software, and suddenly the library stopped working (connection timeouts). So after a few hours of double checking everything, I decided to...
View Article