You can subscribe to this list here.
2007 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
(2) |
Nov
|
Dec
|
---|---|---|---|---|---|---|---|---|---|---|---|---|
2009 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
(1) |
Nov
(1) |
Dec
|
2010 |
Jan
|
Feb
(1) |
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2012 |
Jan
|
Feb
(1) |
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
From: Perednik, S. (US - G. Mills) <spe...@de...> - 2012-02-02 18:03:19
|
I use SharpSSH with powershell and it works fine. But the commands returned are too long and break over multiple lines. How can I increase the buffer to allow for more space? Shai Perednik GHC Engineer | DTS AME Global Hosting Centre Office of Information Management Deloitte Touche Tohmatsu Limited 1 Braxton Way, Glen Mills, PA 19342 Tel/Direct: +1 610.479.3348 | Fax: +1 610.479.4368 | Mobile: +1 215.804.9208 spe...@de... | www.deloitte.com Office Hours: M-F 0700-1600 Please consider the environment before printing. This message (including any attachments) contains confidential information intended for a specific individual and purpose, and is protected by law. If you are not the intended recipient, you should delete this message. Any disclosure, copying, or distribution of this message, or the taking of any action based on it, is strictly prohibited. v.E.1 -----Original Message----- From: sha...@li... [mailto:sha...@li...] Sent: Thursday, February 02, 2012 12:49 To: Perednik, Shai (US - Glen Mills) Subject: confirm 8411b3b1d4abd176ba28cd97516f2251efbfaca2 Mailing list subscription confirmation notice for mailing list Sharpssh-users We have received a request from 172.29.29.1 for subscription of your email address, "spe...@de...", to the sha...@li... mailing list. To confirm that you want to be added to this mailing list, simply reply to this message, keeping the Subject: header intact. Or visit this web page: https://lists.sourceforge.net/lists/confirm/sharpssh-users/8411b3b1d4abd176ba28cd97516f2251efbfaca2 Or include the following line -- and only the following line -- in a message to sha...@li...: confirm 8411b3b1d4abd176ba28cd97516f2251efbfaca2 Note that simply sending a `reply' to this message should work from most mail readers, since that usually leaves the Subject: line in the right form (additional "Re:" text in the Subject: is okay). If you do not wish to be subscribed to this list, please simply disregard this message. If you think you are being maliciously subscribed to the list, or have any other questions, send them to sha...@li.... |
From: Johannes D. <joh...@dr...> - 2010-02-23 17:22:02
|
Hi, i would like to use the ssh stream to watch a logfile with "tail -f <filename>" and to capture the output for 10 seconds. But how can I receive the output until I get the prompt again?! Sometimes it is truncated when I use Dim Response As String = client.ReadResponse() And sometimes it is hanging and I have to stop... Is there a way of asyncronous monitoring the output of a command?! Thanks & Regards, Johannes Johannes von Drachenfels Phone: +49-7231-9223800 Mobile: +49-171-6710815 Drachenfels GmbH Bleichstrasse 56 75173 Pforzheim Germany Geschäftsführer: Johannes von Drachenfels Sitz der Gesellschaft: Pforzheim Handelsregister: Registergericht Mannheim: HRB 504389 Notice: This transmittal and/or attachments may be privileged or confidential. If you are not the intended recipient, you are hereby notified that you have received this transmittal in error; any review, dissemination, or copying is strictly prohibited. If you received this transmittal in error, please notify us immediately by reply and immediately delete this message and all its attachments. Thank you. |
From: <Nic...@ne...> - 2009-11-24 14:39:44
|
In reply to [Sharpssh-users] Help needed for interactive command from Thorsten Harms <thorsten.harms@ar...> Hi Thorsten, did you found any snippet of a manual? Me not and therefore it is really time consuming in finding out how SharpSSH works. By trying and from the examples I successfully found out how to: - scp - connect via ssh - execute a command via ssh (but different object than the one before) Here are my snippets: <SCP> // Initialize Object Tamir.SharpSsh.Scp sshScp = new Tamir.SharpSsh.Scp(sHost, sUser, sPw); // Try to connect sshScp.Connect(); // Check if the connection succeeded if (sshScp.Connected) { logBaseLogger.writeLog("Successfully connected to '" + sHost + "'", Logger.LogId.Step8); // Transmit ipexp script file sshScp.Put("my\secret\path", dicAppSettings["sScriptPath"].ToString()); sshScp.Close(); logBaseLogger.writeLog("Connection closed."); } else { logBaseLogger.logLevel = Logger.LogLevel.Warning; logBaseLogger.writeLog("SCP connection failed!" + nl + "Could not connect to host: " + sHost, Logger.LogId.Step8); } </SCP> <SHELL> Tamir.SharpSsh.SshShell sshShell = new Tamir.SharpSsh.SshShell(sHost, sUser, sPw); sshShell.Connect(); <same if(connected) as above> // Get shell stream //StreamReader srShellReader = new StreamReader(sshShell.GetStream()); // Output of stream content //while (srShellReader.Peek() != -1) //{ // logBaseLogger.writeLog("SSH$ " + srShellReader.ReadLine()); //} </SHELL> <EXECUTE> Tamir.SharpSsh.SshExec sshCL = new Tamir.SharpSsh.SshExec(sHost, sUser, sPw); // Try to connect sshCL.Connect(); // Check if the connection succeeded if (sshCL.Connected) { logBaseLogger.writeLog("Successfully connected to '" + sHost + "'", Logger.LogId.Step8); // Send command logBaseLogger.writeLog(sshCL.RunCommand("dir")); // Finish sshCL.Close(); logBaseLogger.writeLog("Connection closed."); } </EXECUTE> Just forget my generic logging object. Maybe it helps. Any hints, tips or general comments on using SharpSSH appreciated - as I said above, its really time consuming to find out how everything works. Regards, Nicolas Mit freundlichen Grüßen Nicolas Krzywinski Fachinformatiker/Systemintegration Consultant Professional Services NXR/SW/OPS |
From: Thorsten H. <tho...@ar...> - 2009-10-30 14:51:46
|
Hi all, I'm currently developing an application which configures a wireless router via SSH. So I stumbled upon SharpSSH and so far it worked out for me. But now I'm getting into some problems: I have some commands, that demand for a confirmation, e.g. "are you really,really sure?". ;-) I tried the following: SshStream ssh = new SshStream(this.ssh_ip, this.ssh_user, this.ssh_pwd); ssh.Prompt = ">"; ssh.RemoveTerminalEmulationCharacters = true; ssh.Write("do something"); ssh.Write("y"); string response = ssh.ReadResponse(); ssh.Close(); MessageBox.Show("Yeehah:\n" + response); and the following: SshExec exec = new SshExec(this.ssh_ip, this.ssh_user); exec.Password = this.ssh_pwd; exec.Connect(); while(true) { result = exec.RunCommand("do something"); result += exec.RunCommand("y"); } exec.Close(); But, so far, nothing works... Any tipps, hints, etc. would be highly appreciated :-) Thanks in advance, Thorsten Harms |
From: Hracek, P. <pet...@si...> - 2007-10-18 09:01:49
|
Hello *, =20 I would like to ask you if it's possible to use already generated PuTTY keys in SharpSSH library for communication with Linux machines. =20 regards / S pozdravem Petr Hracek |
From: Hracek, P. <pet...@si...> - 2007-10-18 08:55:22
|
Hello All, =20 I would like to run some script on Linux machine which ask user for answer to the question as Yes, No, some values. =20 How can I show to user If he has to answer Yes, No , some values. =20 E.g. =20 I've written script which connects from itself to the second Linux = machine. Before starting connection I am asking to user if he really wants to run = this command. Afterwards I am asking to user for password to the second Linux machine. Do you know how I can show to user inputs which are neccessary for = scripts? =20 =20 regards / S pozdravem =20 Ing. Petr Hr=E1=E8ek IT Services and Enterprise Communications Developer =20 Bidl=E1ky 20, budova Mediahall 639 00 Brno =20 Tel.: +420 533 337 267 Fax.: +420 533 337 252 mailto: pet...@si... <mailto:pet...@si...>=20 www.isec-it.com <http://www.isec-it.com/>=20 =20 |