New Post: ShellStream in Windows Phone 7
Hi. I try to write simple ssh client for windows phone. So, I have a trouble. public string ExecuteCommandByShell(string command) { ShellStream stream = _sshClient.CreateShellStream("xterm", 80, 24,...
View ArticleNew Post: ShellStream in Windows Phone 7
sorry, there is troubles with my internet connection...
View ArticleNew Post: Pageant integration?
It does. That method struck me as distinctly non-standard for C#/.net. GetProcessByName might be more suitable for searching for the Pageant process. Thanks.
View ArticleNew Post: Dynamic PortForward Problem
Hi, I know I shouldn't disable IPv4 and IPv6, It just for a quick test since I don't really know the logic behind SSH.NET. As I mention before, after I made change to the code It works for couple...
View ArticleNew Post: Accept Host Key Automatically?
Hello, I am using this library within a .net application to connect to an SFTP server. It has been running for about a year without issue, and still is. I connect to the server through an automated...
View ArticleNew Post: Accept Host Key Automatically?
Hi Chip, Yes, this is correct. By default it accepts all host keys. The only time you want to use HostKeyReceived event if you want to add some logic and manually to approve or deny host. Thanks, Oleg
View ArticleNew Post: Dynamic PortForward Problem
Yea, No problem, I actually looked at it but cant figure out a way to allow user to specify what method he wants to use so I guess I will try to address it later as I have more time. Thanks,. Oleg
View ArticleNew Post: Capture server responses
Hello, Is there a way that I can capture server responses as I carry out commands? TIA
View ArticleNew Post: Capture server responses
Hi, Well, since this is an open source you can download source version and output all received messaged that coming from the server. Currently there is no appropriate support for this or an easy API to...
View ArticleNew Post: SFTP and SCP Additional text prepended when uploading txt file
When uploading a simple text file from windows to a linux server using either sftp or scp, the text file has  prepended to the text. I've checked the local file to confirm these characters are not...
View ArticleNew Post: Capture server responses
Thanks for your response Oleg. I was to thinking of checking the server responses to determine if a file upload was successful. Is there an alternate way of doing this? Is it save to assume that a file...
View ArticleNew Post: Accept Host Key Automatically?
Oleg, That's great... thank you for confirming this and for your quick response! Chip
View ArticleNew Post: Capture server responses
ooh, Well, I think it is, but if you want more reassuring test I would check MD5 of uploaded file on server and locally and see if its the same. Thanks, Oleg
View ArticleNew Post: SFTP and SCP Additional text prepended when uploading txt file
Just a follow up I'm using the latest source code 23481. It's really strange because when I look at the text file before trying to copy it, it looks fine. And once it is copied to the server when I do...
View ArticleNew Post: reading long-running commands from shellstream
Hi all, I have a problem with reading from the shellstream whenever I sent long-running commands I need to search in zip-files. (first I unzip the file (unzip-command) to a specific directory, then I...
View ArticleNew Post: ReadLine() does not block
Hi, In the latest version, ReadLine() doesnt block like the documentation suggests. Instead its returning 'Nothing' Any ideas? Thanks Dan
View ArticleNew Post: SshAuthenticationException : User cannot be authenticated
Hi, I'm getting SshAuthenticationException : User cannot be authenticated when trying to authenticate with username/password+private key(dsa, 2048bits w/o passphrase)var connectionInfo = new...
View ArticleNew Post: reading long-running commands from shellstream
After a lot more tests, I found that if I ran the 2 commands in separate shellstreams, and did not read the response from my unzip command (instead waited for 10 sec) , everything works fine -> my...
View ArticleNew Post: SFTP and SCP Additional text prepended when uploading txt file
Did you try setting the encoding to Encoding.ASCII ?
View ArticleNew Post: reading long-running commands from shellstream
Ok, so I tuned my unzip command in order not to show the output (unzip -qq ...) and this works fine within one shellstream. Still, I feel like there is a bug lying behind the original problem. kr
View Article