New Post: ForwardedPortLocal Work on Linux, but refused by server 10054 with...
The SSH-Daemon on your target machine must allow PortForwarding. What does "default sshd_config" mean? Some distributers think they have to "improve" default configs :( check out:...
View ArticleNew Post: new SshClient Exception on Synology
Sorry... De exception start at client.Connect(); error is: A first chance exception of type 'System.Net.Sockets.SocketException' occurred in System.dll A first chance exception of type...
View ArticleNew Post: new SshClient Exception on Synology
Please give all informations of the exception. Message, stacktrace etc. ...
View ArticleNew Post: ForwardedPortLocal Work on Linux, but refused by server 10054 with...
thanks for your comment. But when I try this with ssh command "ssh -N -f -L abc:123:def:456 ".. then execute my_call then it works. I hope to know how to get same result as I use command ssh with...
View ArticleNew Post: new SshClient Exception on Synology
I solved it, it's strange but I changed using (SshClient client = new SshClient(connectionInfo)) to: SshClient client = new SshClient(connectionInfo); and now it works... After that I had troubles with...
View ArticleNew Post: new SshClient Exception on Synology
It's not strange. Connect() returns after it is done. Your code was:using (SshClient client = new SshClient(connectionInfo)) { client.Connect(); //Error starts here } The client object is created, it...
View ArticleNew Post: ForwardedPortLocal Work on Linux, but refused by server 10054 with...
Take a look at the tests:https://sshnet.codeplex.com/SourceControl/latest#Renci.SshClient/Renci.SshNet.Tests/Classes/ForwardedPortLocalTest.cs Since you don't show all your code, I also just can guess...
View ArticleNew Post: Renci.SshNet.Common.SshOperationTimeoutException
Hi - I'm getting the error when I attempt to upload a file to our vendor's server. I can upload just fine to our dev server (same code and file). I've attached the trace file. Any ideas on what's going...
View ArticleNew Post: RunCommand hangs and doesnt timeout either
Hi All, I use PowerShell 3.0 with this library and cannot get Runcommand to work. I am trying to connect to a switch and execute a simple command like "show version". Below is the code. It just hangs...
View ArticleNew Post: ForwardedPortLocal Work on Linux, but refused by server 10054 with...
da_rinkes, thanks your sincere reply. Because My code was almost same as the test program, I did not show ;-) But I got some solution on this matter, With the userID that once I log in int the AIX...
View ArticleNew Post: HP Procurve hangs after SSH logon just after "Press any key" message
did you get this to work?
View ArticleNew Post: ForwardedPortLocal Work on Linux, but refused by server 10054 with...
dear, I found the reason why I met failed to request through forwarded port. AIX, ask the change password at the login just after change or create user/password by default. So, I changed the given...
View ArticleNew Post: Failing to Authenticate on SSH_MSG_USERAUTH_PASSWD_CHANGEREQ
I could not find PasswordExired event on Cennectioninfo class. Can you let me knw where is it? thanks
View ArticleNew Post: Failing to Authenticate on SSH_MSG_USERAUTH_PASSWD_CHANGEREQ
I found it PasswordConnectionInfo ;-) . by the way,, who send SSH_MSG_USERAUTH_PASSWD_CHANGEREQ request? In case. SSH server ask the change password( by default AIX), then How I can recognize this with...
View ArticleNew Post: Unable to login at the second username and password in Oracle database
Hello guys, I need your help on my project, I used renci ssh.net to connect to an oracle database (AIX) for data backup using "exp" command. I used C# .net code. I am stuck on logging in the second...
View ArticleNew Post: Upload to SFTP results in files of 0 byte length....
I'm trying to upload some XML files (1 - 20K in size) from my local server to a SFTP server. The upload works - but the resulting files are 0 bytes long in the end..... Any idea why?? Is there...
View ArticleNew Post: Sockets lost in port forwarding
I create a ssh tunnel with port forward to connect to a posgres and works well. However when i try to stop a port forwarding the connections makes still exist even if I call the SSClient.disconnect, I...
View ArticleNew Post: Issue trying to send a command via SSH to VMWare
I'm able to run commands like "who" when testing, but when I try to run something like "services.sh restart" it just hangs. Running it using Putty works fine. Thanks, Adrianvar connectionInfo = new...
View ArticleNew Post: SSH.NET Server requirements / SftpClient.Connect timeout
I am brand new with the use of SSH.NET, but I fail on the very basics of connecting to SftpClient.Connect: using (SftpClient sftp = new SftpClient(Properties.Settings.Default.FTPServer, 21,...
View ArticleNew Post: SSH.NET Server requirements / SftpClient.Connect timeout
You are trying to use SFTP on a FTP port. This can't work!
View Article