diff options
author | Antenore Gatta <antenore@simbiosi.org> | 2015-06-21 03:56:48 +0300 |
---|---|---|
committer | Antenore Gatta <antenore@simbiosi.org> | 2015-06-21 03:58:13 +0300 |
commit | 63029d41f0eaccb3ab1c2229ef3faf6df519fc24 (patch) | |
tree | 6c1bde8125a278b774f6e36e4137eef044a35d7b | |
parent | 27cb64c41827174792bbefb4d80ca02e3dd133ca (diff) |
Support for ~/.ssh/config closes #235 , libssh does not support most of the ssh options
-rw-r--r-- | remmina/src/remmina_ssh.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/remmina/src/remmina_ssh.c b/remmina/src/remmina_ssh.c index 9aeadb2a3..13c6e3301 100644 --- a/remmina/src/remmina_ssh.c +++ b/remmina/src/remmina_ssh.c @@ -15,7 +15,7 @@ * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, + * Foundation, Inc., 51 Franklin Street, Fifth Floor, * Boston, MA 02110-1301, USA. * * In addition, as a special exception, the copyright holders give @@ -392,6 +392,8 @@ remmina_ssh_init_session (RemminaSSH *ssh) ssh_callbacks_init (ssh->callback); ssh_set_callbacks(ssh->session, ssh->callback); + /* As the latest parse the ~/.ssh/config file */ + ssh_options_parse_config(ssh->session, NULL); if (ssh_connect (ssh->session)) { remmina_ssh_set_error (ssh, _("Failed to startup SSH session: %s")); |