diff options
author | Antenore Gatta <antenore@simbiosi.org> | 2019-03-09 00:01:12 +0300 |
---|---|---|
committer | Antenore Gatta <antenore@simbiosi.org> | 2019-03-09 00:01:12 +0300 |
commit | 9701118f8534d52e10ffba5980da6a2b2eec3b4c (patch) | |
tree | 15c9b6c03c9dcedf846f410c053fb0fd4e9505b3 /src/remmina_sftp_client.h | |
parent | 88a7ee8d27ed4b3d3b41bd15d479c9526fe7081f (diff) |
Resolve "SSH public key cannot be imported: Access denied for 'none'. Authentication that can continie: publickey"
- Import the public key only if available.
- Added auth widget for the "Public key (automatic)" authentication type.
Closes #1850
Diffstat (limited to 'src/remmina_sftp_client.h')
-rw-r--r-- | src/remmina_sftp_client.h | 15 |
1 files changed, 6 insertions, 9 deletions
diff --git a/src/remmina_sftp_client.h b/src/remmina_sftp_client.h index 0021caa9d..31bbe2241 100644 --- a/src/remmina_sftp_client.h +++ b/src/remmina_sftp_client.h @@ -54,23 +54,22 @@ G_BEGIN_DECLS #define REMMINA_SFTP_CLIENT_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), REMMINA_TYPE_SFTP_CLIENT, RemminaSFTPClientClass)) typedef struct _RemminaSFTPClient { - RemminaFTPClient client; + RemminaFTPClient client; - RemminaSFTP *sftp; + RemminaSFTP * sftp; - pthread_t thread; - gint taskid; - gboolean thread_abort; + pthread_t thread; + gint taskid; + gboolean thread_abort; } RemminaSFTPClient; typedef struct _RemminaSFTPClientClass { RemminaFTPClientClass parent_class; - } RemminaSFTPClientClass; GType remmina_sftp_client_get_type(void) G_GNUC_CONST; -GtkWidget* remmina_sftp_client_new(void); +GtkWidget *remmina_sftp_client_new(void); void remmina_sftp_client_open(RemminaSFTPClient *client, RemminaSFTP *sftp); gint remmina_sftp_client_confirm_resume(RemminaSFTPClient *client, const gchar *path); @@ -78,5 +77,3 @@ gint remmina_sftp_client_confirm_resume(RemminaSFTPClient *client, const gchar * G_END_DECLS #endif /* HAVE_LIBSSH */ - - |