[01] SSH Server Technical Support


For technical or licensing inquiries about Bitvise SSH Server, please open a new support case.

wcfg not working properly , limited commands

Hello,
I ve tried to use wcfg.exe but it seems it does not work as stated on your site .
When I type in command prompt wcfg.exe it shows only  a limited number of commands available - see below:
------------------------------------------------------------------------
C:\Program Files\Bitvise WinSSHD>wcfg.exe
wcfg, WinSSHD command-line configuration utility, version 4.23
Copyright (C) 2005-2007 by Bitvise Limited

Usage:
  wcfg <command> [options]

Commands:

show keyinfo
  Displays server keypair info (MD5 digest and Bubble-Babble fingerpri

export publickey [<filename>] (-ssh2 | -openssh)
  Exports the server's public key into the specified file. If omitted,
  standard output is used. Either -ssh2 or -openssh must be specified
  select the output format.

export keypair [<filename>] [-pass=<passphrase> | -noPass]
  Exports the server's keypair into the specified file. If omitted, st
  output is used. A passphrase can be supplied on the command line if
  do not want wcfg to prompt for it. Note that there is a security ris
  associated with specifying the passphrase on the command line.

import keypair [<filename>] [-pass=<passphrase> | -noPass]
  Imports the server's keypair from the specified file. If omitted, st
  input is used. A passphrase can be supplied on the command line if y
  do not want wcfg to prompt for it. Note that there is a security ris
  associated with specifying the passphrase on the command line.

export settings [<filename> [-unicode | -codePage=<codePage>] ]
  Exports local WinSSHD settings as a series of instructions that can
  completely or partially re-imported with 'import'. If the file name
  omitted, standard output is used. If a file is specified but neither
  -unicode nor -codePage are supplied, the default code page is assume

import settings [<filename> [-unicode | -codePage=<codePage>] | -i] [-
  Modifies the local WinSSHD configuration by processing the instructi
  the specified file. If the file name is omitted, standard input is u
  -i is supplied, a prompt is displayed allowing instructions and quer
  be entered interactively. If a file is specified, but neither -unico
  -codePage are supplied, the default ANSI codepage is assumed. If -bl
  specified, instructions will be applied to a blank configuration. Ot
  instructions will be applied to current WinSSHD settings as in the r

pass set <userName> [-pass=<password>]
  Sets the specified user's password in the WinSSHD password cache. Th
  not change the user's Windows account password, rather it should mat
  If a password is not specified on the command line, wcfg will prompt
  Note that there is a security risk associated with specifying the pa
  on the command line.

pass clear <userName>
  Clears the specified user's password from the password cache.

pass clearAll
  Clears all passwords saved in the WinSSHD password cache.
-----------------------------------------------------------------

any other commands showed on your site does not work.
Is the new version limited to these commands only  or it may be something wrong on my computer?
However I tried it on a second computer and it behaves the same.
Also I could not get it to set a password in the WinSSHD password cache, afther I run the command it says  it is done but when I try to login from the client, it does not connect with the password I set.
Please help.
Thanks in advance.
Mihai Izbaste Send private email
Friday, January 18, 2008
 
 
Also I found out that when I try to import setings it will give me this error:
Error processing input at or about line 269:
MemberMapEvaluator: Input 'winAccount ""': This field cannot be left empty

Although the field is not empty...
Mihai Izbaste Send private email
Friday, January 18, 2008
 
 
Well what can I say, if you read the http://www.bitvise.com/wug-wcfg carefully you should come across on the following sentence:

This section will focus on interactive use, specifically when wcfg is started with 'wcfg import settings -i'.

So that's that.

As for the "MemberMapEvaluator: Input 'winAccount ""': This field cannot be left empty". You seem to be adding Windows account there, and well you obviously cannot add a new Windows account with an empty account name (winAccunt). I think you'll figure this out easily when you'll run wcfg in interactive mode.

You can also reach wcfg interactive screen in WinSSHD Settings window - Query tab.
Andrej Andolsek Send private email
Friday, January 18, 2008
 
 

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics
 
Powered by FogBugz