diff options
author | Andreas Schneider <mail@cynapses.org> | 2009-09-08 11:33:46 +0200 |
---|---|---|
committer | Andreas Schneider <mail@cynapses.org> | 2009-09-15 17:26:13 +0200 |
commit | 48456426112eefd3a852138d9c9e3eb4cf84d29b (patch) | |
tree | c7fc17fb7197979d4f4160b6d56035880d59ae1e /sample.c | |
parent | de8808cb47470638359dc7eb8343552d3b94ec38 (diff) | |
download | libssh-48456426112eefd3a852138d9c9e3eb4cf84d29b.tar.gz libssh-48456426112eefd3a852138d9c9e3eb4cf84d29b.tar.xz libssh-48456426112eefd3a852138d9c9e3eb4cf84d29b.zip |
Added support for ~/.ssh/config.
Diffstat (limited to 'sample.c')
-rw-r--r-- | sample.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -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)){ |