Quantcast
Channel: sshnet Discussions Rss Feed
Browsing all 1729 articles
Browse latest View live
↧

New Post: Using ShellStream and readline gives me double prompts

var shell = new SshShellStream(... here your shell config ...); var reader = new StreamReader(shell); shell.WriteLine(cmd); ... wait for output ... reader.ReadToEnd()

View Article


New Post: Using ShellStream and readline gives me double prompts

Thank you so much :) P/s: I think CreateShellStream, not SshShellStream :)

View Article


New Post: uploading and showing in the console success vs failure

Can anyone provide me sample to code to update a file and then output the console or anywhere for that matter the status of the transaction? using (var file = File.OpenRead(localFileName)) {...

View Article

New Post: File upload failing - need help

Hi Any solution to this Issue? I have the same problem Please somebody Help Me!!!!! Thanks

View Article

New Post: File upload failing - need help

The Solution is in the second comment of this discussion. You have to specify the full path.

View Article


New Post: File upload failing - need help

Where???? static void Main(string[] args) { string host = "*.*.*.*"; string username = "test"; string password = "********"; string localFileName = "C://TEST.CSV"; string remoteFileName =...

View Article

New Post: File upload failing - need help

I tried to put like this string remoteFileName = System.IO.Path.GetFileName("sftp://testdev@10.2.11.5/testdev/Conversion/T.CSV"); but its doesn't work neither.... PLEASE HELP ME

View Article

New Post: File upload failing - need help

jorgefdez205 wrote: Where???? static void Main(string[] args) { string host = "*.*.*.*"; string username = "test"; string password = "********"; string localFileName = "C://TEST.CSV"; string...

View Article


New Post: File upload failing - need help

THANK YOU SO MUCH !!!!!! Is now working, I just changed string remoteFileName = System.IO.Path.GetFileName("t.CSV"); par string remoteFileName = "./t.CSV"; thank you again da_rinkes

View Article


New Post: The upload file SFTP there was an error saving the data...

Can you help me what to do? Message: No suitable authentication method found to complete authentication try { //config.SftpHost //config.SftpPort //config.SftpUsername //config.SftpPassword...

View Article

New Post: The upload file SFTP there was an error saving the data...

sftp.Connect() method is saying that: No suitable authentication method found to complete authentication

View Article

New Post: The upload file SFTP there was an error saving the data...

This message means the client was unable to authenticate at the server. The reason why should be visible in the ssh server logs on your target machine.

View Article

New Post: SshOperationTimeoutException trying to start a service on remote...

I am running several commands in sequence (each command is a separate ssh session) to install a service on RH/CentOS (5 and 6) via openssh and the last command to start the service seems to always...

View Article


New Post: SshOperationTimeoutException trying to start a service on remote...

I don't think it's a problem in ssh.net. Can you reproduce this behaviour with plink (http://the.earth.li/~sgtatham/putty/latest/x86/plink.exe).Usage: plink [options] [user@]host [command] where...

View Article

New Post: Illegal characters in SFTP File upload

Im reading a text file from Windows into a file stream, then uploading it to openVMS. The file uploads but when I look at it in openVMS each line has some sort of linebreak on the end that looks like a...

View Article


New Post: Illegal characters in SFTP File upload

Windows and Unix-Like OS have different definitions of a newline:http://en.wikipedia.org/wiki/Newline#Common_problems If you transfer a file between them, you have to handle it yourself. For example...

View Article

New Post: Can't get full result using sync method

I use SSH.Net to send command to server. But I can't get full result if the result is too long. I search the Internet and I think the reason is "bufferSize", but when I change buffer size when...

View Article


New Post: uploading and showing in the console success vs failure

try this using (var file = File.OpenRead(localFileName)) { Console.WriteLine("\rUploading --> " + remoteFileName); Console.WriteLine("started at " + DateTime.Now+ ""); var asynch =...

View Article

New Post: su command

Hi I can't get it to work either . can you please help below is my code. Thanks public void ServerConnexion() { try { KeyboardInteractiveAuthenticationMethod kauth = new...

View Article

New Post: Stop PortForwarding is toooooooo slow !

When i try to stop a started forwared port to stop it takes more than 20 secs to stop ! Is it possible to make that run faster ? If CurrentEShopSSH.ForwardedPorts(0).IsStarted Then...

View Article
Browsing all 1729 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>