New Post: SFTP and SCP Additional text prepended when uploading txt file
I did try setting the encoding to encoding ascii but it doesn't seem to take. I might not be doing it correctly. here's my code: Dim scp = New ScpClient(strIPAddress, intPort, strUsername, strPassword)...
View ArticleNew Post: scp odd behavior
still not working for me, can you show me the code that you used in your test?
View ArticleNew Post: scp odd behavior
okay I got this working by passing the upload method a fileinfo instead of a streamwriter. thanks for your help.
View ArticleNew Post: SshAuthenticationException : User cannot be authenticated
Any feedback? Maybe any details are required?
View ArticleNew Post: SshAuthenticationException : User cannot be authenticated
Hi, Sorry for late reply. I think I might have a problem with 2048 key size. Unfortunately I wont have any time to work on it right now for probably next few weeks but defiantly will look at it later....
View ArticleNew Post: Command execution trouble
I am trying to send a command through sshNET: if [ $(pgrep -f 'SCREEN -S burnintest_screen') ]; then echo Success; fi On my linux host, this command results in Success when the command is issued...
View ArticleNew Post: Secure connection using credentials from C# Form textbox
Hi, first this ssh project is great, nice to have someone working on it since the Tamir sharp ssh that was kind of left over there...and I think you are making a great job. :) I am creating an app that...
View ArticleNew Post: Problem with sftp uploading
I have problem with uploading of several big files in one session into linux server. for example: I try to upload 17 files in loop. 3 - success, after that I waiting during 1 hour and then i get...
View ArticleNew Post: Command execution trouble
I like replying to myself.... This is just my misunderstanding of how sshNET works. Normally, pgrep will not detect itself. But, the execute (or run command) method results in a "bash -c" process being...
View ArticleNew Post: Command execution trouble
Sending [ "$(pgrep -f 'SCREEN -S [burnintest_screen]')" ] && echo Success through the execute method will prevent re-matching the pgrep command line as pgrep's search pattern is a regular...
View ArticleNew Post: Secure connection using credentials from C# Form textbox
Hi, Sorry for late reply. Well, not really since first step of connection is to establish encryption and then authenticate the the user so passwords never sent in a clear text. If you want avoid...
View ArticleNew Post: Problem with sftp uploading
HI, There might be be a problem which I investigating now but it will take me some time since I busy with my work related project now :( I also have somebody submitting to me similar test case with...
View ArticleNew Post: SFTP and SCP Additional text prepended when uploading txt file
Hi, I remember I seen this before and I think it was windows related issue. I think Windows adds some bytes to indicate something. To test it you can simply copy one file into another one using...
View ArticleNew Post: ReadLine() does not block
Hi, Can you be specific and give some code example how you use it? Thanks, Oleg
View ArticleNew Post: SSH Tunnel / Port Forwarding
I have the same problem. It looks like it is something wrong with the ForwardedPortLocal. I am able to connect to my MySql server when OpenSSH is running, so I am sure my connection string is OK. I'm...
View ArticleNew Post: Asynchronous SSH ShellStream
Hi, I'm trying to use the ssh ShellStream in an asynchronous way, It's works pretty well except for one thing, the commands i'm sending are being written by my reader function, example:...
View ArticleNew Post: How can i get the information of FileTransfer Progress on SCP ??
Hello~ Im using the SCP Class in some my programs. It is very useful. But I can NOT know how transfer the upload file to a server. May Anyone use the Filetransfer Progress??
View ArticleNew Post: Single command containing semi-colon
Hi, I'm trying to run a command containing semi-colons thanks to the SshClient.RunCommand() method but the command doesn't seem to be executed. The command does work when I'm using it directly. I was...
View Article