Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 25 Jun 2002 22:38:42 -0500
From:      "Kevin Kinsey, DaleCo, S.P." <kdk@daleco.biz>
To:        <mij@nextrials.com>
Cc:        <darryl@osborne-ind.com>, <freebsd-questions@FreeBSD.ORG>
Subject:   Re: How to determine version of SSH
Message-ID:  <031201c21cc2$f8914ba0$30ec910c@fbccarthage.com>
References:  <002301c21c8f$833d9f30$0701a8c0@darryl> <011601c21c90$69ee79e0$30ec910c@fbccarthage.com> <20020626000834.GA303@helios.sr.nextrials.com>

next in thread | previous in thread | raw e-mail | index | archive | help
----- Original Message -----
From: "Jim Mock" <mij@nextrials.com>
To: "Kevin Kinsey, DaleCo, S.P." <kdk@daleco.biz>
Cc: <darryl@osborne-ind.com>; <freebsd-questions@FreeBSD.ORG>
Sent: Tuesday, June 25, 2002 7:08 PM
Subject: Re: How to determine version of SSH


> On Tue, 25 Jun 2002 at 16:36:48 -0500, Kevin Kinsey, DaleCo, S.P. wrote:
> > I've seen a little confusion on this.  Here's why:
> >
> > #sshd -v
> > sshd: illegal option -- v
> > sshd version OpenSSH_2.9 FreeBSD localisations 20020307
> > Usage: sshd [options]
> > Options:
> >   -f file    Configuration file (default /etc/ssh/sshd_config)
> >   -d         Debugging mode (multiple -d means more debugging)
> >   -i         Started from inetd
> >   -D         Do not fork into daemon mode
> >   -q         Quiet (no logging)
> >   -p port    Listen on the specified port (default: 22)
> >   -k seconds Regenerate server key every this many seconds (default:
3600)
> >   -g seconds Grace period for authentication (default: 600)
> >   -b bits    Size of server RSA key (default: 768 bits)
> >   -h file    File from which to read host key (default:
> > /etc/ssh/ssh_host_key)
> >   -u len     Maximum hostname length for utmp recording
> >   -4         Use IPv4 only
> >   -6         Use IPv6 only
> >
> > As you can see, you do get a version number.  I
> > wonder why they didn't follow the convention and
> > write in a "-v" option.
>
> They did, but it's -V.
>
> - jim
>
> --
> jim mock <mij@soupnazi.org>   http://soupnazi.org/ | jim@FreeBSD.org

Thanks, but is it really?  [UNIX is so sensitive in this case  ;-) ]

kadmin@archangel-# sshd -V
sshd: option requires an argument -- V
sshd version OpenSSH_2.9 FreeBSD localisations 20020307
Usage: sshd [options]
Options:
  -f file    Configuration file (default /etc/ssh/sshd_config)
  -d         Debugging mode (multiple -d means more debugging)
  -i         Started from inetd
  -D         Do not fork into daemon mode
  -q         Quiet (no logging)
  -p port    Listen on the specified port (default: 22)
  -k seconds Regenerate server key every this many seconds (default: 3600)
  -g seconds Grace period for authentication (default: 600)
  -b bits    Size of server RSA key (default: 768 bits)
  -h file    File from which to read host key (default:
/etc/ssh/ssh_host_key)
  -u len     Maximum hostname length for utmp recording
  -4         Use IPv4 only
  -6         Use IPv6 only

Doesn't look much different, or better.  Maybe something's
wrong with my config?

KDK


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?031201c21cc2$f8914ba0$30ec910c>