Re: [SLUG] ssh tribulations

From: Martin C. Messer (marty@redhat.com)
Date: Wed Feb 26 2003 - 10:55:24 EST


On Wed, 2003-02-26 at 10:42, Kwan Lowe wrote:
> On Wed, 2003-02-26 at 09:52, Rock wrote:
> >
> > How do I capture the output from ssh -v <server> ?
> >
> > I have tried ssh -vvv <server> >> <file-name> and what I get is a binary
> > file that is of no use to read and send on to the list for some help.
> >
>
> You can try using the 'script' command. It allows you to save a
> transcript of a session, including error and stdout.
>

Or you can just capture stderr to a file:

ssh -v user@host 2> ssh.log

-- 
Martin C. Messer   | marty@redhat.com 
Red Hat, Inc.      | Information Systems & Technologies 
1801 Varsity Drive | 919-754-3700 x44148
Raleigh, NC 27606  | 919-931-9815 (mobile)

GPG 4029BAF7 0D9C 3526 18AE ABB6 AA7A 67B5 A950 A7C8 4029 BAF7



This archive was generated by hypermail 2.1.3 : Fri Aug 01 2014 - 15:50:20 EDT