Home
last modified time | relevance | path

Searched refs:ssh_set_error (Results 1 – 25 of 74) sorted by relevance

123

/dports/security/libssh/libssh-0.9.6/src/
H A Dscp.c71 ssh_set_error(session, SSH_FATAL, in ssh_scp_new()
79 ssh_set_error(session, SSH_FATAL, in ssh_scp_new()
85 ssh_set_error(session, SSH_FATAL, in ssh_scp_new()
92 ssh_set_error(session, SSH_FATAL, in ssh_scp_new()
132 ssh_set_error(scp->session, SSH_FATAL, in ssh_scp_init()
138 ssh_set_error(scp->session, SSH_FATAL, in ssh_scp_init()
150 ssh_set_error(scp->session, SSH_FATAL, in ssh_scp_init()
158 ssh_set_error(scp->session, SSH_FATAL, in ssh_scp_init()
170 ssh_set_error(scp->session, SSH_FATAL, in ssh_scp_init()
178 ssh_set_error(scp->session, SSH_FATAL, in ssh_scp_init()
[all …]
H A Dbind.c91 ssh_set_error(sshbind,
108 ssh_set_error(sshbind,
118 ssh_set_error(sshbind,
154 ssh_set_error(sshbind, SSH_FATAL,
167 ssh_set_error(sshbind, SSH_FATAL,
173 ssh_set_error(sshbind, SSH_FATAL,
190 ssh_set_error(sshbind, SSH_FATAL,
196 ssh_set_error(sshbind, SSH_FATAL,
312 ssh_set_error(sshbind,SSH_FATAL,
557 ssh_set_error(sshbind, SSH_FATAL,
[all …]
H A Dcurve25519.c128 ssh_set_error(session, SSH_FATAL, "PRNG error"); in ssh_curve25519_init()
292 ssh_set_error(session,SSH_FATAL, "No public key in packet"); in SSH_PACKET_CALLBACK()
299 ssh_set_error(session, in SSH_PACKET_CALLBACK()
307 ssh_set_error(session,SSH_FATAL, "No Q_S ECC point in packet"); in SSH_PACKET_CALLBACK()
321 ssh_set_error(session, SSH_FATAL, "No signature in packet"); in SSH_PACKET_CALLBACK()
328 ssh_set_error(session, SSH_FATAL, "Cannot build k number"); in SSH_PACKET_CALLBACK()
397 ssh_set_error(session,SSH_FATAL, "No Q_C ECC point in packet"); in SSH_PACKET_CALLBACK()
401 ssh_set_error(session, in SSH_PACKET_CALLBACK()
428 ssh_set_error(session, SSH_FATAL, "Cannot build k number"); in SSH_PACKET_CALLBACK()
440 ssh_set_error(session, SSH_FATAL, "Could not create a session id"); in SSH_PACKET_CALLBACK()
[all …]
H A Dknown_hosts.c156 ssh_set_error(session, SSH_FATAL, in check_public_key()
304 ssh_set_error(session, SSH_REQUEST_DENIED, in ssh_is_server_known()
312 ssh_set_error(session, SSH_FATAL, in ssh_is_server_known()
319 ssh_set_error(session, SSH_FATAL, in ssh_is_server_known()
440 ssh_set_error(session, SSH_FATAL, in ssh_dump_knownhost()
458 ssh_set_error(session, SSH_FATAL, "No current crypto context"); in ssh_dump_knownhost()
465 ssh_set_error(session, SSH_FATAL, "No public key present"); in ssh_dump_knownhost()
519 ssh_set_error(session, SSH_FATAL, "%s", strerror(errno)); in ssh_write_knownhost()
525 ssh_set_error(session, SSH_FATAL, in ssh_write_knownhost()
536 ssh_set_error(session, SSH_FATAL, in ssh_write_knownhost()
[all …]
H A Dsftp.c281 ssh_set_error(session, SSH_FATAL, in sftp_server_init()
468 ssh_set_error(sftp->session, in sftp_packet_read()
493 ssh_set_error(sftp->session, in sftp_packet_read()
534 ssh_set_error(sftp->session, in sftp_packet_read()
591 ssh_set_error(packet->sftp->session, in sftp_get_message()
699 ssh_set_error(sftp->session, SSH_FATAL, in sftp_init()
2341 ssh_set_error(sftp->session,SSH_FATAL, in sftp_unlink()
2885 ssh_set_error(sftp->session, in sftp_readlink()
3105 ssh_set_error(sftp->session, in sftp_fsync()
3114 ssh_set_error(sftp->session, in sftp_fsync()
[all …]
H A Dclient.c80 ssh_set_error(session,SSH_FATAL,"%s",strerror(errno_code)); in socket_callback_connected()
105 ssh_set_error(session,SSH_FATAL, in callback_receive_banner()
155 ssh_set_error(session, in callback_receive_banner()
342 ssh_set_error(session, SSH_FATAL, in ssh_service_request()
409 ssh_set_error(session, SSH_FATAL, in ssh_client_connection_callback()
513 ssh_set_error(session, SSH_FATAL, in ssh_connect()
529 ssh_set_error(session, SSH_FATAL, in ssh_connect()
541 ssh_set_error(session, SSH_FATAL, "Hostname required"); in ssh_connect()
549 ssh_set_error(session, SSH_FATAL, in ssh_connect()
557 ssh_set_error(session, SSH_FATAL, "Couldn't apply options"); in ssh_connect()
[all …]
H A Ddh-gex.c122 ssh_set_error(session, in SSH_PACKET_CALLBACK()
138 ssh_set_error(session, SSH_FATAL, "Invalid DH_GEX_GROUP packet"); in SSH_PACKET_CALLBACK()
144 ssh_set_error(session, in SSH_PACKET_CALLBACK()
155 ssh_set_error(session, in SSH_PACKET_CALLBACK()
165 ssh_set_error(session, SSH_FATAL, "Invalid dh group parameter p"); in SSH_PACKET_CALLBACK()
169 ssh_set_error(session, SSH_FATAL, "Invalid dh group parameter p"); in SSH_PACKET_CALLBACK()
176 ssh_set_error(session, SSH_FATAL, "Invalid dh group parameter g"); in SSH_PACKET_CALLBACK()
257 ssh_set_error(session, SSH_FATAL, "Invalid DH_GEX_REPLY packet"); in SSH_PACKET_CALLBACK()
596 ssh_set_error(session, in SSH_PACKET_CALLBACK()
611 ssh_set_error(session, in SSH_PACKET_CALLBACK()
[all …]
H A Dconnect.c178 ssh_set_error(session, SSH_FATAL, in ssh_connect_host_nonblocking()
189 ssh_set_error(session, SSH_FATAL, in ssh_connect_host_nonblocking()
202 ssh_set_error(session, SSH_FATAL, in ssh_connect_host_nonblocking()
216 ssh_set_error(session, SSH_FATAL, in ssh_connect_host_nonblocking()
235 ssh_set_error(session, SSH_FATAL, in ssh_connect_host_nonblocking()
247 ssh_set_error(session, SSH_FATAL, in ssh_connect_host_nonblocking()
259 ssh_set_error(session, SSH_FATAL, in ssh_connect_host_nonblocking()
H A Dagent.c161 ssh_set_error(session, SSH_REQUEST_DENIED, "Session has no active agent");
180 ssh_set_error(session, SSH_REQUEST_DENIED, "Session has no active agent");
242 ssh_set_error(session, SSH_FATAL,
284 ssh_set_error(session, SSH_FATAL,
333 ssh_set_error(session, SSH_FATAL, "Not enough space");
347 ssh_set_error(session, SSH_FATAL,
364 ssh_set_error(session, SSH_FATAL,
372 ssh_set_error(session,
382 ssh_set_error(session, SSH_FATAL,
580 ssh_set_error(session,
H A Dknownhosts.c308 ssh_set_error(session, in ssh_session_get_host_port()
360 ssh_set_error(session, in ssh_known_hosts_get_algorithms()
520 ssh_set_error(session, in ssh_known_hosts_get_algorithms_names()
789 ssh_set_error(session, in ssh_session_has_known_hosts_entry()
799 ssh_set_error(session, in ssh_session_has_known_hosts_entry()
824 ssh_set_error(session, in ssh_session_has_known_hosts_entry()
908 ssh_set_error(session, SSH_FATAL, in ssh_session_export_known_hosts_entry()
919 ssh_set_error(session, SSH_FATAL, in ssh_session_export_known_hosts_entry()
1030 ssh_set_error(session, SSH_FATAL, in ssh_session_update_known_hosts()
1138 ssh_set_error(session, in ssh_session_get_known_hosts_entry()
[all …]
H A Decdh.c61 ssh_set_error(session,SSH_FATAL, "No public key in packet"); in SSH_PACKET_CALLBACK()
73 ssh_set_error(session,SSH_FATAL, "No Q_S ECC point in packet"); in SSH_PACKET_CALLBACK()
79 ssh_set_error(session, SSH_FATAL, "No signature in packet"); in SSH_PACKET_CALLBACK()
86 ssh_set_error(session, SSH_FATAL, "Cannot build k number"); in SSH_PACKET_CALLBACK()
H A Dauth.c232 ssh_set_error(session, SSH_FATAL, in SSH_PACKET_CALLBACK()
415 ssh_set_error(session, SSH_FATAL, in ssh_userauth_none()
512 ssh_set_error(session, in ssh_userauth_try_publickey()
634 ssh_set_error(session, in ssh_userauth_publickey()
741 ssh_set_error(session, in ssh_userauth_agent_publickey()
1067 ssh_set_error(session, in ssh_userauth_publickey_auto()
1081 ssh_set_error(session, in ssh_userauth_publickey_auto()
1151 ssh_set_error(session, in ssh_userauth_publickey_auto()
1246 ssh_set_error(session, in ssh_userauth_password()
1578 ssh_set_error(session, SSH_FATAL, in SSH_PACKET_CALLBACK()
[all …]
H A Dwrapper.c257 ssh_set_error(session, SSH_FATAL, in crypt_set_algorithms2()
295 ssh_set_error(session, SSH_FATAL, in crypt_set_algorithms2()
316 ssh_set_error(session, SSH_FATAL, in crypt_set_algorithms2()
349 ssh_set_error(session, SSH_FATAL, in crypt_set_algorithms2()
413 ssh_set_error(session,SSH_FATAL,"crypt_set_algorithms_server : " in crypt_set_algorithms_server()
447 ssh_set_error(session, SSH_FATAL, in crypt_set_algorithms_server()
468 ssh_set_error(session,SSH_FATAL,"Crypt_set_algorithms_server :" in crypt_set_algorithms_server()
500 ssh_set_error(session, SSH_FATAL, in crypt_set_algorithms_server()
574 ssh_set_error(session, in crypt_set_algorithms_server()
/dports/security/razorback-api/api-0.5.0/libssh/src/
H A Dscp.c63 ssh_set_error(session,SSH_FATAL,"Error allocating memory for ssh_scp"); in ssh_scp_new()
68 ssh_set_error(session,SSH_FATAL,"Invalid mode %d for ssh_scp_new()",mode); in ssh_scp_new()
74 ssh_set_error(session,SSH_FATAL,"Error allocating memory for ssh_scp"); in ssh_scp_new()
93 ssh_set_error(scp->session,SSH_FATAL,"ssh_scp_init called under invalid state"); in ssh_scp_init()
128 ssh_set_error(scp->session,SSH_FATAL, "scp status code %ud not valid", code); in ssh_scp_init()
228 ssh_set_error(scp->session,SSH_FATAL, "scp status code %ud not valid", code); in ssh_scp_push_directory()
265 ssh_set_error(scp->session,SSH_FATAL, "scp status code %ud not valid", code); in ssh_scp_leave_directory()
319 ssh_set_error(scp->session,SSH_FATAL, "scp status code %ud not valid", code); in ssh_scp_push_file64()
483 ssh_set_error(scp->session,SSH_FATAL,"End of file while reading string"); in ssh_scp_read_string()
578 ssh_set_error(scp->session,SSH_REQUEST_DENIED,"SCP: Warning: %s",&buffer[1]); in ssh_scp_pull_request()
[all …]
H A Dbind.c101 ssh_set_error(sshbind, in bind_socket()
118 ssh_set_error(sshbind, in bind_socket()
128 ssh_set_error(sshbind, in bind_socket()
169 ssh_set_error(sshbind, SSH_FATAL, in ssh_bind_listen()
181 ssh_set_error(sshbind, SSH_FATAL, in ssh_bind_listen()
187 ssh_set_error(sshbind, SSH_FATAL, in ssh_bind_listen()
201 ssh_set_error(sshbind, SSH_FATAL, in ssh_bind_listen()
208 ssh_set_error(sshbind, SSH_FATAL, in ssh_bind_listen()
254 ssh_set_error(sshbind,SSH_FATAL, in ssh_bind_set_callbacks()
409 ssh_set_error(sshbind, SSH_FATAL, in ssh_bind_accept()
[all …]
H A Dclient.c73 ssh_set_error(session,SSH_FATAL,"%s",strerror(errno_code)); in socket_callback_connected()
125 ssh_set_error(session,SSH_FATAL,"Receiving banner: too large banner"); in callback_receive_banner()
227 ssh_set_error(session, SSH_FATAL, "Invalid state in dh_handshake(): %d", in dh_handshake()
282 ssh_set_error(session, SSH_FATAL, in ssh_service_request()
296 ssh_set_error(session,SSH_FATAL,"ssh_auth_service request denied"); in ssh_service_request()
356 ssh_set_error(session, SSH_FATAL, in ssh_client_connection_callback()
360 ssh_set_error(session, SSH_FATAL, in ssh_client_connection_callback()
365 ssh_set_error(session, SSH_FATAL, in ssh_client_connection_callback()
464 ssh_set_error(session, SSH_FATAL, "Invalid session pointer"); in ssh_connect()
487 ssh_set_error(session, SSH_FATAL, "Hostname required"); in ssh_connect()
[all …]
H A Dconnect.c170 ssh_set_error(session, SSH_FATAL, in ssh_connect_ai_timeout()
178 ssh_set_error(session, SSH_FATAL, in ssh_connect_ai_timeout()
189 ssh_set_error(session, SSH_FATAL, in ssh_connect_ai_timeout()
223 ssh_set_error(session, SSH_FATAL, in ssh_connect_host()
233 ssh_set_error(session, SSH_FATAL, in ssh_connect_host()
246 ssh_set_error(session, SSH_FATAL, in ssh_connect_host()
256 ssh_set_error(session, SSH_FATAL, in ssh_connect_host()
318 ssh_set_error(session, SSH_FATAL, in ssh_connect_host_nonblocking()
328 ssh_set_error(session, SSH_FATAL, in ssh_connect_host_nonblocking()
341 ssh_set_error(session, SSH_FATAL, in ssh_connect_host_nonblocking()
[all …]
H A Dknown_hosts.c265 ssh_set_error(session, SSH_FATAL, in check_public_key()
427 ssh_set_error(session, SSH_REQUEST_DENIED, in ssh_is_server_known()
435 ssh_set_error(session, SSH_FATAL, in ssh_is_server_known()
442 ssh_set_error(session, SSH_FATAL, in ssh_is_server_known()
548 ssh_set_error(session, SSH_FATAL, in ssh_write_knownhost()
564 ssh_set_error(session, SSH_FATAL, "Can't find a known_hosts file"); in ssh_write_knownhost()
570 ssh_set_error(session, SSH_FATAL, "No current crypto context"); in ssh_write_knownhost()
576 ssh_set_error(session, SSH_FATAL, "No public key present"); in ssh_write_knownhost()
583 ssh_set_error(session, SSH_FATAL, "%s", strerror(errno)); in ssh_write_knownhost()
589 ssh_set_error(session, SSH_FATAL, in ssh_write_knownhost()
[all …]
H A Dsftp.c180 ssh_set_error(session, SSH_FATAL, in sftp_server_init()
503 ssh_set_error(sftp->session, SSH_FATAL, in sftp_init()
1450 ssh_set_error(sftp->session, SSH_FATAL, in sftp_readdir()
1460 ssh_set_error(sftp->session, SSH_FATAL, in sftp_readdir()
2096 ssh_set_error(sftp->session,SSH_FATAL, in sftp_unlink()
2169 ssh_set_error(sftp->session, SSH_FATAL, in sftp_rmdir()
2260 ssh_set_error(sftp->session, SSH_FATAL, in sftp_mkdir()
2353 ssh_set_error(sftp->session, SSH_FATAL, in sftp_rename()
2432 ssh_set_error(sftp->session, SSH_FATAL, in sftp_setstat()
2587 ssh_set_error(sftp->session, SSH_FATAL, in sftp_symlink()
[all …]
H A Decdh.c133 ssh_set_error(session,SSH_FATAL, "No public key in packet"); in ssh_client_ecdh_reply()
140 ssh_set_error(session,SSH_FATAL, "No Q_S ECC point in packet"); in ssh_client_ecdh_reply()
146 ssh_set_error(session, SSH_FATAL, "No signature in packet"); in ssh_client_ecdh_reply()
153 ssh_set_error(session, SSH_FATAL, "Cannot build k number"); in ssh_client_ecdh_reply()
195 ssh_set_error(session,SSH_FATAL, "No Q_C ECC point in packet"); in ssh_server_ecdh_init()
221 ssh_set_error(session, SSH_FATAL, "Cannot build k number"); in ssh_server_ecdh_init()
227 ssh_set_error(session, SSH_FATAL, "Could not create a session id"); in ssh_server_ecdh_init()
238 ssh_set_error(session, SSH_FATAL, "Could not sign the session id"); in ssh_server_ecdh_init()
H A Dpacket_cb.c58 ssh_set_error(session, SSH_FATAL, in SSH_PACKET_CALLBACK()
91 ssh_set_error(session,SSH_FATAL,"ssh_packet_dh_reply called in wrong state : %d:%d", in SSH_PACKET_CALLBACK()
105 ssh_set_error(session,SSH_FATAL,"Wrong kex type in ssh_packet_dh_reply"); in SSH_PACKET_CALLBACK()
126 ssh_set_error(session,SSH_FATAL,"ssh_packet_newkeys called in wrong state : %d:%d", in SSH_PACKET_CALLBACK()
167 ssh_set_error(session, in SSH_PACKET_CALLBACK()
H A Dwrapper.c178 ssh_set_error(session, SSH_FATAL, in crypt_set_algorithms2()
199 ssh_set_error(session, SSH_FATAL, in crypt_set_algorithms2()
242 ssh_set_error(session, SSH_FATAL, "cipher 3des-cbc-ssh1 not found!"); in crypt_set_algorithms1()
284 ssh_set_error(session,SSH_FATAL,"crypt_set_algorithms_server : " in crypt_set_algorithms_server()
301 ssh_set_error(session,SSH_FATAL,"Crypt_set_algorithms_server :" in crypt_set_algorithms_server()
320 ssh_set_error(session,SSH_FATAL,"zlib@openssh.com not supported"); in crypt_set_algorithms_server()
329 ssh_set_error(session,SSH_FATAL,"zlib@openssh.com not supported"); in crypt_set_algorithms_server()
H A Dkex.c259 ssh_set_error(session,SSH_FATAL,"SSH_KEXINIT received in wrong state"); in SSH_PACKET_CALLBACK()
264 ssh_set_error(session, SSH_FATAL, "ssh_packet_kexinit: no cookie in packet"); in SSH_PACKET_CALLBACK()
269 ssh_set_error(session, SSH_FATAL, "ssh_packet_kexinit: adding cookie failed"); in SSH_PACKET_CALLBACK()
274 ssh_set_error(session, SSH_FATAL, "ssh_packet_kexinit: no cookie in packet"); in SSH_PACKET_CALLBACK()
279 ssh_set_error(session, SSH_FATAL, "ssh_packet_kexinit: adding cookie failed"); in SSH_PACKET_CALLBACK()
291 ssh_set_error(session, SSH_FATAL, "Error adding string in hash buffer"); in SSH_PACKET_CALLBACK()
381ssh_set_error(session,SSH_FATAL,"kex error : no match for method %s: server [%s], client [%s]", in ssh_kex_select_methods()
H A Dserver.c135 ssh_set_error(session, SSH_FATAL, "Cannot import e number"); in ssh_server_kexdh_init()
195 ssh_set_error(session, SSH_FATAL, in ssh_get_key_params()
219 ssh_set_error(session, SSH_FATAL, "Could not create y number"); in dh_handshake_server()
223 ssh_set_error(session, SSH_FATAL, "Could not create f number"); in dh_handshake_server()
229 ssh_set_error(session, SSH_FATAL, "Could not get the f number"); in dh_handshake_server()
245 ssh_set_error(session, SSH_FATAL, "Could not create a session id"); in dh_handshake_server()
252 ssh_set_error(session, SSH_FATAL, "Could not sign the session id"); in dh_handshake_server()
272 ssh_set_error(session, SSH_FATAL, "Not enough space"); in dh_handshake_server()
331 ssh_set_error(session, SSH_FATAL, in ssh_server_connection_callback()
335 ssh_set_error(session, SSH_FATAL, in ssh_server_connection_callback()
[all …]
H A Dkex1.c147 ssh_set_error(session, SSH_FATAL, "RSA1 encrypt: libgcrypt error"); in ssh_encrypt_rsa1()
152 ssh_set_error(session, SSH_FATAL, "RSA1 encrypt: libgcrypt error"); in ssh_encrypt_rsa1()
160 ssh_set_error(session, SSH_FATAL, "RSA1 encrypt: libgcrypt error"); in ssh_encrypt_rsa1()
172 ssh_set_error(session, SSH_FATAL, "Not enough space"); in ssh_encrypt_rsa1()
186 ssh_set_error(session, SSH_FATAL, "Not enough space"); in ssh_encrypt_rsa1()
320 ssh_set_error(session,SSH_FATAL,"SSH_KEXINIT received in wrong state"); in SSH_PACKET_CALLBACK()
324 ssh_set_error(session, SSH_FATAL, "Can't get cookie in buffer"); in SSH_PACKET_CALLBACK()
353 ssh_set_error(session, SSH_FATAL, "Invalid SSH_SMSG_PUBLIC_KEY packet"); in SSH_PACKET_CALLBACK()
401 ssh_set_error(session, SSH_FATAL, "Remote server doesn't accept 3DES"); in SSH_PACKET_CALLBACK()

123