From 48456426112eefd3a852138d9c9e3eb4cf84d29b Mon Sep 17 00:00:00 2001 From: Andreas Schneider Date: Tue, 8 Sep 2009 11:33:46 +0200 Subject: Added support for ~/.ssh/config. --- sample.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'sample.c') diff --git a/sample.c b/sample.c index cc3df54f..f028ceb5 100644 --- a/sample.c +++ b/sample.c @@ -531,6 +531,9 @@ int main(int argc, char **argv){ ssh_options_free(options); return 1; } + + ssh_options_parse_config(options, NULL); + session=ssh_new(); ssh_set_options(session,options); if(ssh_connect(session)){ -- cgit