New Post: Generating DSA and RSA keys
This is currently not available in SSH.NET, and it's not an area I'll likely work on in the near future. Why don't you just generate the key with readily available OSS tools (e.g. openssh) ?
View ArticleNew Post: sftp download file
@abedi98: Is E:\abedi a directory ? You should specifiy a file path as argument for the FileStream constructor. Hope this helps, Gert
View ArticleNew Post: SCP upload speed
What version of SSH.NET are you using ? Performance of SftpClient has improved substantially in the latest beta release. PS. I know the beta is dated, but there'll be a new beta release soon.
View ArticleNew Post: Proxy issue with Sftp class (client) with Renci.SshNet library
This should do it:using Renci.SshNet; namespace SshNetTests { class Program { public static void Main() { var privateKeyAuthenticationMethod = new PrivateKeyAuthenticationMethod("<user>", new...
View ArticleNew Post: SSH.NET
What version of SSH.NET are you using ? Can you verify whether SshClient.IsConnect is still true after the exception ? Also try subscribing to the Exception event to learn more on the reason why the...
View ArticleNew Post: Channel is closed error on Disconnect
Hi, I get the channel is closed error on calling disconnect on the SftpClient. Not sure what's happening. Thanks.
View ArticleNew Post: Channel is closed error on Disconnect
This is the stacktrace of the error Unhandled Exception: System.NullReferenceException: Object reference not set to an instance of an object. at Renci.SshNet.Sftp.SftpSession.SendMessage(SftpMessage...
View ArticleNew Post: Running nuhup command using SSH.NET
I'm having the same problem in my application. I become only error 126. Can you please help us?
View ArticleNew Post: Help with Running Applications
Maybe it's bit off topic, but when I'm trying to run nohup with whatever command I become only error 126. Can you please help me?
View ArticleNew Post: Running nuhup command using SSH.NET
126 means "Permission Denied".» ssh test "nohup /dev/null"; echo $? nohup: failed to run command ‘/dev/null’: Permission denied 126
View ArticleNew Post: Channel is closed error on Disconnect
One could consider this a bug in SSH.NET, but I'm inclined to say that you should close/dispose the SftpFileStream or StreamReader/StreamWrter that you obtained by invoking a method on SftpClient...
View ArticleNew Post: Channel is closed error on Disconnect
Thanks a lot. There was a Streamreader open. Problem fixed now!
View ArticleNew Post: SCP upload speed
I am using 2014.4.6-beta1 as downloaded from download page. I still have the feeling it is a lot faster (50%+) compared to Tamir.ssh, which already is helpful. I have to transfer files of ~50MB, here...
View ArticleNew Post: Running nuhup command using SSH.NET
But when I'm using PuTTY, or running the same command without nohup it's all fine. And maybe I've made a mistake, it's not error code 126, but exit status 126.
View ArticleNew Post: Running nuhup command using SSH.NET
Check the content of STDOUT and STDERR. According to the nohup man page:126 nohup found the utility program but could not invoke it. RunCommand() is not the same like starting the command in a full...
View ArticleNew Post: SCP upload speed
What is your input stream reading from ? It is a local file ? There's still an issue in UploadFile where our buffer size is automatically reduce to the size of the last read. Assume we start with a...
View ArticleNew Post: how to send ctrl-c, ctrl-z?
hello, I was unable to find a solution on how to find control key combinations to the ssh server like ctrl-c, ctrl-z? thanks for help
View ArticleNew Post: Unreliable Expect
Dear Developers, I have noticed that expect does not always works, sometimes it just skips expected text and execution blocks I am trying to do my own expect handler in Shell_DataReceived event in...
View ArticleNew Post: Unreliable Expect
I need somehow to break waiting in the fragment: If InStr(S, StopOnText, CompareMethod.Text) > 0 Then 'Dim AR = New Renci.SshNet.ExpectAsyncResult AR.AsyncWaitHandle.Close() Shell.EndExpect(AR)...
View ArticleNew Post: Unreliable Expect
I fixed it by : If InStr(S, StopOnText, CompareMethod.Text) > 0 Then System.Threading.WaitHandle.SignalAndWait(AR.AsyncWaitHandle, AR.AsyncWaitHandle, 1, False) End If May be another signaling...
View Article