summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Cholasta <jcholast@redhat.com>2012-02-27 08:27:53 -0500
committerStephen Gallagher <sgallagh@redhat.com>2012-02-27 11:52:34 -0500
commit29408e71079df732454475d968a5f5491d38eb6e (patch)
tree41229ec4d79ffce03c5fcaae7a18dade98726651
parenta836d70ad64013ec1d407388a9416ecb3d1cc992 (diff)
downloadsssd-29408e71079df732454475d968a5f5491d38eb6e.tar.gz
sssd-29408e71079df732454475d968a5f5491d38eb6e.tar.bz2
sssd-29408e71079df732454475d968a5f5491d38eb6e.zip
SSH: Remove unused --file option of sss_ssh_knownhostsproxy
-rw-r--r--src/sss_client/ssh/sss_ssh_knownhostsproxy.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/sss_client/ssh/sss_ssh_knownhostsproxy.c b/src/sss_client/ssh/sss_ssh_knownhostsproxy.c
index 1cfdf24d..9dae3cb6 100644
--- a/src/sss_client/ssh/sss_ssh_knownhostsproxy.c
+++ b/src/sss_client/ssh/sss_ssh_knownhostsproxy.c
@@ -36,8 +36,6 @@
#include "sss_client/sss_cli.h"
#include "sss_client/ssh/sss_ssh_client.h"
-#define DEFAULT_FILE ".ssh/sss_known_hosts"
-
#define BUFFER_SIZE 8192
/* connect to server using socket */
@@ -203,7 +201,6 @@ int main(int argc, const char **argv)
{
TALLOC_CTX *mem_ctx;
int pc_debug = SSSDBG_DEFAULT;
- const char *pc_file = DEFAULT_FILE;
const char *pc_port = "22";
const char *pc_domain = NULL;
const char *pc_host = NULL;
@@ -212,8 +209,6 @@ int main(int argc, const char **argv)
POPT_AUTOHELP
{ "debug", '\0', POPT_ARG_INT | POPT_ARGFLAG_DOC_HIDDEN, &pc_debug, 0,
_("The debug level to run with"), NULL },
- { "file", 'f', POPT_ARG_STRING, &pc_file, 0,
- _("The known_hosts file to use"), NULL },
{ "port", 'p', POPT_ARG_STRING, &pc_port, 0,
_("The port to use to connect to the host"), NULL },
{ "domain", 'd', POPT_ARG_STRING, &pc_domain, 0,