mirror of
https://github.com/upa/mscp.git
synced 2026-02-16 10:54:47 +08:00
fix duplicate error message on ssh auth failed.
and fix the final \n with -q
This commit is contained in:
@@ -18,10 +18,10 @@ struct ssh_opts {
|
||||
char *password; /* filled at the first connecting phase */
|
||||
};
|
||||
|
||||
/* ssh_make_sftp_session() creates sftp_session. sshdst accpets
|
||||
/* ssh_init_sftp_session() creates sftp_session. sshdst accpets
|
||||
* user@hostname and hostname notations (by libssh).
|
||||
*/
|
||||
sftp_session ssh_make_sftp_session(char *sshdst, struct ssh_opts *opts);
|
||||
sftp_session ssh_init_sftp_session(char *sshdst, struct ssh_opts *opts);
|
||||
void ssh_sftp_close(sftp_session sftp);
|
||||
|
||||
#define sftp_ssh(sftp) (sftp)->session
|
||||
|
||||
Reference in New Issue
Block a user