The host needs to be in known_hosts (on windows, I think it's userhome/.ssh/known_hosts) - the jsch docs should provide more info)
Scott -----Original Message----- From: Jacob Kjome [mailto:[EMAIL PROTECTED] Sent: Sun 7/17/2005 10:23 AM To: Log4J Users List Cc: Subject: Re: viewing remote logfile over SSH using Chainsaw Can we assume that you have all the required libraries to enable SFTP functionality in commons-vfs? See: http://jakarta.apache.org/commons/vfs/download.html You need at least.... common-vfs.jar commons-logging.jar jsch.jar The first two are required dependencies for commons-vfs to work at all. The 3rd, jsch, is a runtime dependency that you use to enable SFTP functionality in commons-vfs. Jake At 07:47 PM 7/17/2005 +0300, you wrote: > >Hello all, > >We are trying to view remote logs over SSH using Chainsaw v2. >We added the required jars to the chainsaw.bat file so it uses the >VFSLogFilePatternReceiver . >The chainsaw seems to launch fine, and the correct receiver (specified >below) is loaded, yet a new chainsaw tab with the requested file is not >opened. > >The reciever's definition is (of course these are not the real user, >password and file-path): >=========================== > <plugin name="ssh-example" >class="org.apache.log4j.chainsaw.vfs.VFSLogFilePatternReceiver"> > <param name="fileURL" >value="sftp://myusername:[EMAIL PROTECTED]:22/path/to/server.log" /> > <param name="timestampFormat" value="dd-MM-yyyy HH:mm:ss,SSS"/> > <param name="logFormat" value="TIMESTAMP LOGGER LEVEL [THREAD] - >MESSAGE" /> > <param name="tailing" value="true" /> > </plugin> >=========================== > >Using a different SSH tool we verified that the URL is valid and that >the file is transferred over sftp. > >What are we missing? > >Best regards, > > Yaniv & Rami > > > >--------------------------------------------------------------------- >To unsubscribe, e-mail: [EMAIL PROTECTED] >For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
