New Post: Slow Performance .... help!!
da_rinkes wrote:jhoop2002 wrote: As mentioned in my previous post. "I am connecting via sftp and only getting about 100KB instead of 1,000KB" whao... You want help? Then give us your code where you...
View ArticleNew Post: entering username before authentication
Hello, i am trying to connnect to a sonicwall device with ssh. for the sonicwall i have first to enter first an user for "Login as:" , for example "snwcli" After that i have to enter username and...
View ArticleNew Post: About the speed
HOW TO SPEED UP 3X: in file SftpFileStream.cs is predefined too small buffer - 4096 bytes is not enought. ORIGINAL: _ internal SftpFileStream(SftpSession session, string path, FileMode mode) :...
View ArticleNew Post: entering username before authentication
For such things you have to work with ShellStream. In this you can expect questions, e.g. "User:", and write your answers, e.g. "admin".
View ArticleNew Post: Find a remaining disk space in SFTP
Hi, I'm newcomer for SFTP file transfer.Currently i have created a location as SFTP server in my local machine ( windows 7) . I have developed a project to upload file(s) from local machine to my SFTP...
View ArticleNew Post: telnet
After I SSH onto the server, I would like to telnet onto a specific machine. When I do this through putty, the command I use is "telnet host -l user" and then I am asked to input a password. This is...
View ArticleNew Post: telnet
I was able to get this to work using ShellStream. Here is what I used: using (var ssh = new Renci.SshNet.SshClient(connectionInfo)) { ssh.Connect(); Renci.SshNet.ShellStream stream =...
View ArticleNew Post: vb.net sftp
Is their an example in vb.net on how to upload a file to sftp the documentation is sparse at best for sftp in vb.net
View ArticleNew Post: ssh conversation
Hi all, I did a deep search about how to make a ssh conversation with this .dll with no luck. Any of you guys, have a very basic example of how to set a "conversation vis ssh"? Depending of the output...
View ArticleNew Post: Connecting with Password AND Private Key File using SftpClient
Hello, I am using ssh.net lib and it works great for sftpclient connections either with password or privatekeyfile. I have a situation where the host requires a password AND a private key file. What's...
View ArticleNew Post: Connecting with Password AND Private Key File using SftpClient
Not sure if it works, but maybe you can use the generic SshClient with ConnectionInfo. var coninfo = new ConnectionInfo("1.2.3.4", "peter", new PasswordAuthenticationMethod("peter", "peter"), new...
View ArticleNew Post: Connecting with Password AND Private Key File using SftpClient
Good, thought, I missed that signature. Unfortunately it didn't work... here's the error: A connection attempt failed because the connected party did not properly respond after a period of time, or...
View ArticleNew Post: Expect() Not Behaving When Connecting to Cisco Nexus
Hello- I am using expect to run a command on some Cisco devices. I have found that expect will put all the command output into a string for certain devices and won't for others. For example Expect...
View ArticleNew Post: Connecting with Password AND Private Key File using SftpClient
Hm, looks like they have this in their config:AuthenticationMethods pubkey,password So user have to auth with a valid pubkey and password. A "quite new" feature of SSH from march last year, I don't...
View ArticleNew Post: Connecting with Password AND Private Key File using SftpClient
Ignore my previous post - it worked! I had a wrong port.. thanks again! dave
View ArticleNew Post: Connecting with Password AND Private Key File using SftpClient
ah! awesome! good to know for me too! :)
View ArticleNew Post: Connecting with Password AND Private Key File using SftpClient
I just tried it with following line in my sshd_config:AuthenticationMethods password,password So I have to enter the password twice. Which is totally valid. Works fine with Putty or openssh, but fails...
View ArticleNew Post: Connecting with Password AND Private Key File using SftpClient
On a related note, using "SftpClient(host, port, user, password)" signature doesn't work for certain hosts, but used to work with the Tamir.SharpSsh lib. I get back "Bad packet length 3217085959"...
View ArticleNew Post: Connecting with Password AND Private Key File using SftpClient
What does certain hosts mean? Do they differ from others? There is nothing special needed i know of.
View ArticleNew Post: Connecting with Password AND Private Key File using SftpClient
It works if I connect to some hosts with user/password, but not others. I can't list them here unfortunately...
View Article