@@ -235,3 +235,11 @@ static int ssh_verify_known_hosts(ssh_session session)
ssh_clean_pubkey_hash(&hash);
return0;
}
voidssh_sftp_close(sftp_sessionsftp)
{
ssh_sessionssh=sftp_ssh(sftp);
sftp_free(sftp);
ssh_disconnect(ssh);
ssh_free(ssh);
}
Reference in New Issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.