Commit 3e344132 authored by Antenore Gatta's avatar Antenore Gatta

Pass NULL as username for ssh_auth_agent. Fixes #1228

parent 202d17f5
......@@ -267,7 +267,7 @@ remmina_ssh_auth_agent(RemminaSSH* ssh)
gint ret;
ret = ssh_userauth_agent(ssh->session, ssh->user);
ret = ssh_userauth_agent(ssh->session, NULL);
if (ret != SSH_AUTH_SUCCESS) {
remmina_ssh_set_error(ssh, _("SSH public key authentication with ssh agent failed: %s"));
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment