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

New Post: Connect to linux server by SSH.NET library

Hi, I'm new user of SSH.NET, I have some questions on it. How can I su my account by runcommand or runshell? I know it's an old question, but I didn't find a worked solution for me on the internet....

View Article


New Post: Format output in ssh.net library

Where exactly do you change the format for the result. I'm outputting SSH from Cisco IOS and its all coming out bunched up and all on one line. Would anyone have any advice on the best way to...

View Article


New Post: Remote MD5 checksum on ftp server?

Hi, i want to ask, SSH.NET allow to check MD5 on server after program upload it from local ? Or for this moment its impossible or there some other ways?

View Article

New Post: Run command unblocking

Hi, I am using ssh.net library to run the following command in a Linux box that executes commands to another system: bash -l -c '/usr/local/bin/runTest ip user pass Test_Case 1' However, I would want...

View Article

New Post: FileZilla and WINSCP is able to connect and list the folders but...

Hi Support, I need help regarding the issue I am getting to get the files from the folder by using Tamir DLL in .NET console application/window service. The error is :...

View Article


New Post: FileZilla and WINSCP is able to connect and list the folders but...

Wrong Project? This is SSH.NET not Tamir.SharpSsh, sry.

View Article

New Post: Run command unblocking

SshCommand supports Async execution with BeginExecute().

View Article

New Post: Remote MD5 checksum on ftp server?

Simply run a md5 command on the file on the server and read the result. Compare the result with your expected (local?) value.

View Article


New Post: Commands

Hi, I have some issues using this library. First, some commands are not executed on SSH server machine. For e.g. ls work ok, but cd /home doesn't work. Second thing scares me most. How can send key...

View Article


New Post: Check if Directory exists with SSH.NET

Hello, I'm wondering if anyone knows how to check if a directory exists with SSH.NET. I tried using the Exists function with sFtpClient class, however this function didn't work. Thanks! Jason

View Article

New Post: Commands

I bet the "cd /home" works. You have to keep in mind that every RunCommand() has a new "shell". If you want to run commands together in one context you have to create/manage your own shell or combine...

View Article

New Post: Run command unblocking

Thanks for your response it helped me solve my issue.

View Article

New Post: Executing grep command

I am using the ssh.net library and I am trying to run the following command: string theCommand=grep <stringToLookFor> <filePathAndName> client.RunCommand(theCommand); The process hangs....

View Article


New Post: Executing grep command

grep waits if the second argument is empty. $ grep bla => hangs till signal $ grep bla bla => instant return I guess your command is not correct. Ensure you are calling grep correctly. Btw.:...

View Article

New Post: env variable are missing

I had a similar issue with missing env. i thought about changing the default sshd provided env, but it seemed too hard to maintain. so instead, i just modify the command i want to call, with all the...

View Article


New Post: Executing grep command

Hi, I have the two parameters: grep test /dir/to/file.txt. I ran my code in debug mode and it looks exactly as it does when I hard code the values. Still hanging.

View Article

New Post: Executing grep command

I can't reproduce it, sorry. Works for me. try { client.Connect(); SshCommand cmd = client.CreateCommand("grep bla /tmp/foo"); var asynch = cmd.BeginExecute(); while (!asynch.IsCompleted) {...

View Article


New Post: Executing grep command

You are right, I know what it is now. I have an enter in my data. I am sorry. It was just not visible at all. Thanks.

View Article

New Post: Support for SSH_FXF_TEXT flag (SFTP protocal version 4 and above)

Hi, Does SSH.NET support text mode transfers, i.e support the SSH_FXF_TEXT flag available in SFTP protocol version 4 and above? Cheers

View Article

New Post: About the speed

Hello, I would like to suggest how to speed up file transfers. I tested two connections - one through ssh.net and one through winscp. The same endpoints and to the same server service. Speed differs...

View Article
Browsing all 1729 articles
Browse latest View live


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