Re: .ssh/config equivalent of -q ?
- From: Richard Blasiak <blasiak@xxxxxxxxxx>
- Date: Mon, 15 Oct 2007 17:01:23 -0400
One way that may work to supress the banner on the ssh client-side is to
take advantage of the fact that the client sends the banner to stderr.
So a command like the following may work for you.
ssh user@hostname 2>/dev/null
Some caveats:
This will also supress any other information that is sent to stderr
Some hosts may implement the 'banner' function differently so that the
banner is not sent to stderr.
Rick Blasiak
blasiak@xxxxxxxxxx
- References:
- Re: .ssh/config equivalent of -q ?
- From: Jeremy C. Reed
- Re: .ssh/config equivalent of -q ?
- Prev by Date: ssh connection stop at "debug1: SSH2_MSG_KEXINIT sent" - problem with linux 2.6 and vista
- Next by Date: RE: SSH command in windows
- Previous by thread: Re: .ssh/config equivalent of -q ?
- Next by thread: Example of Layer 3 VPN tunneling with openssh
- Index(es):
Relevant Pages
|