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

New Post: How can i get the information of FileTransfer Progress on SCP ??

Hi, Here is a code example that I used ion my test: using (var scp = new ScpClient(connectionInfo)) { scp.Connect(); scp.BufferSize = 1024; scp.Downloading += delegate(object sender,...

View Article


New Post: 'No such file' exception when calling DownloadFile (SftpClient)...

I am trying to download bunch of files from SFTP directory (and enclosed sub-directories) bases on certain criteria. First I list directory content and then iterate the result list downloading files...

View Article


New Post: How can i get the information of FileTransfer Progress on SCP ??

oh.. Thanks Oleg!! I will try your solutions. And feedback the result to you. Thanks!

View Article

New Post: Keeping same session/channel between distinc commands execution

Hi, I would like to run two related commands. For instance:cd / dir I saw that each RunCommand call resets the SSH session so the second command won't have the same session as the first one. Is it...

View Article

New Post: Sample code for SSH shell

Hello, Could someone post here a sample code for open ssh shell connection + sample command to send command to console ? Becasue I can't find anything in source code.

View Article


New Post: SshAuthenticationException : User cannot be authenticated

Hi Oleg, Thanks for response. I have created issue 1547. And also spent some time for debugging and wrote the solution. Thanks, Alexander

View Article

New Post: SCP Upload to Cisco Firewall

Hi There, Excellent product thank you so much! So here's my issue. I am able to upload a file, but the problem is once it is uploaded the file is renamed so something strange like "scp_f8". I know that...

View Article

New Post: Conexion a Sftp por medio de cha1, Aes un ejemplo

Primero Gracias por la Libreria, quisiera saber o tener un ejemplo de como se puede cifrar la comunicacion desde el cliente al sftp, ya logro lo de enviarlo al ftp pero necesito poder realizar el...

View Article


New Post: Keeping same session/channel between distinc commands execution

Hi, I am afraid it it is not possible due to server implementation. One command execution cannot remember command execution results. You can either execute one long command, which could be series of...

View Article


New Post: Keeping same session/channel between distinc commands execution

You can do this with shell, as long as you seperate the commands with a ";" (in unix anyways) ex: I do this all the time with my code cd <somedir>;grep stuff <filename>

View Article

New Post: Sample code for SSH shell

string command = <your command>; using (var ssh = new SshClient(connectionInfo)) { ssh.Connect(); string reply = String.Empty; try { using (var shellStream = ssh.CreateShellStream("dumb", 0, 0,...

View Article

New Post: Connection to sftp via CHA1, Aes an example

Thanks for the Libreria First, I would like to know or have an example of how you can encrypt communication from client to sftp, achievement and sending it to ftp but I need to perform encryption of...

View Article

New Post: Connecting to OpenSSH server

I have set up an OpenSSH server and try to connect using the following code:var connectionInfo = new ConnectionInfo(host, 22, username, new PasswordAuthenticationMethod(username, password)); //var...

View Article


New Post: Connecting to OpenSSH server

Hi, I would suggest try different authentication method like KeyboardInteractive since sometimes putty will use this method even so it looks like it uses username/password combination. Also, please...

View Article

New Post: SCP Upload to Cisco Firewall

Hi, My suspicion would be that Cisco implementation renames its file since there is nothing in the code that would do something like that. I know that Cisco implement SSH differently and SCP protocol...

View Article


New Post: SCP Upload to Cisco Firewall

When I use PSCP, I use this command and it maintains the file name:pscp -pw PASSWORD testfilemay2.xml USERNAME@IPADDRESS: I don't actually specify a filename to upload. The is what Cisco has to say...

View Article

New Post: SFTP: Uploading Files to the FTP Server has Inconsistent Behavior

Method Name: UploadFile()Issue: Files Uploaded to FTP Server has Inconsistent Behavior I am trying to upload the file from local path to the ftp server, there is no exceptions in the uploadFile()...

View Article


New Post: Request for the permission of type 'System.Net.DnsPermission,

I am trying to connect to an sftp server in a .NET soap webservice. When trying to connect I get the exception:Request for the permission of type 'System.Net.DnsPermission, System, Version=2.0.0.0,...

View Article

New Post: Request for the permission of type 'System.Net.DnsPermission,

I think this is because assembly doesn't have this permission. I am not sure how but I think there is a way to add this permission in App.config or application. Hope it helps, Thanks, Oleg

View Article

New Post: SFTP: Uploading Files to the FTP Server has Inconsistent Behavior

Hi, Do you upload to SFTP of FTP server? Thanks, Oleg

View Article
Browsing all 1729 articles
Browse latest View live


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