Home
last modified time | relevance | path

Searched refs:fatal (Results 1 – 25 of 110) sorted by relevance

12345

/openssh-portable/regress/
H A Dlimit-keytype.sh28 fatal "ssh-keygen failed"
32 fatal "ssh-keygen failed"
34 fatal "ssh-keygen failed"
36 fatal "ssh-keygen failed"
38 fatal "ssh-keygen failed"
40 fatal "ssh-keygen failed"
42 fatal "ssh-keygen failed"
45 fatal "couldn't sign user_key1"
88 ${SSH} $certopts proxy true || fatal "cert failed"
112 ${SSH} $certopts proxy true || fatal "cert failed"
[all …]
H A Dcert-file.sh11 fatal "ssh-keygen failed"
13 fatal "ssh-keygen failed"
17 fatal "ssh-keygen failed"
19 fatal "ssh-keygen failed"
21 fatal "ssh-keygen failed"
23 fatal "ssh-keygen failed"
25 fatal "ssh-keygen failed"
31 fatal "couldn't sign user_key1 with user_ca_key1"
35 fatal "couldn't sign user_key1 with user_ca_key2"
39 fatal "couldn't sign user_key3 with user_ca_key1"
[all …]
H A Dkrl.sh27 fatal "$SSHKEYGEN CA failed"
29 fatal "$SSHKEYGEN CA2 failed"
78 || fatal "$SSHKEYGEN failed"
81 || fatal "$SSHKEYGEN sign failed"
113 >/dev/null || fatal "$SSHKEYGEN KRL failed"
115 >/dev/null || fatal "$SSHKEYGEN KRL failed"
117 >/dev/null || fatal "$SSHKEYGEN KRL failed"
119 >/dev/null || fatal "$SSHKEYGEN KRL failed"
121 >/dev/null || fatal "$SSHKEYGEN KRL failed"
140 >/dev/null || fatal "$SSHKEYGEN KRL failed"
[all …]
H A Dcheck-perm.c23 fatal(const char *fmt, ...) in fatal() function
42 fatal("chroot path does not begin at root"); in safely_chroot()
44 fatal("chroot path too long"); in safely_chroot()
62 fatal("%s: stat(\"%s\"): %s", __func__, in safely_chroot()
65 fatal("bad ownership or modes for chroot " in safely_chroot()
69 fatal("chroot path %s\"%s\" is not a directory", in safely_chroot()
75 fatal("Unable to chdir to chroot path \"%s\": " in safely_chroot()
196 fatal("Could not stat %s: %s", path, strerror(errno)); in main()
199 fatal("Unsafe %s: %s", path, errmsg); in main()
H A Dcert-hostkey.sh45 cat $OBJ/$k || fatal "couldn't cat $k"
51 cat $OBJ/$k || fatal "couldn't cat $k"
80 ${SSHKEYGEN} -kf $OBJ/host_krl_empty || fatal "KRL init failed"
82 ${SSHKEYGEN} -kf $OBJ/host_krl_cert || fatal "KRL init failed"
84 || fatal "KRL init failed"
93 fatal "ssh-keygen of cert_host_key_${ktype} failed"
104 fatal "couldn't sign cert_host_key_${ktype}"
107 fatal "KRL update failed"
228 fatal "couldn't sign cert_host_key_${kt}"
274 fatal "couldn't sign cert_host_key_${ktype}"
[all …]
H A Dhostkey-agent.sh11 [ $r -ne 0 ] && fatal "could not start ssh-agent: exit code $r"
18 ${SSHKEYGEN} -qt $k -f $OBJ/agent-key.$k -N '' || fatal "ssh-keygen $k"
24 fatal "couldn't load key $OBJ/agent-key.$k"
27 rm $OBJ/agent-key.$k || fatal "couldn't rm $OBJ/agent-key.$k"
H A Dhostkey-rotate.sh24 ${SSHKEYGEN} -qt $k -f $OBJ/hkr.$k -N '' || fatal "ssh-keygen $k"
42 _n=`wc -l $OBJ/known_hosts | awk '{ print $1 }'` || fatal "wc failed"
51 fatal "awk failed"
88 fatal "ssh-keygen $secondary"
99 ${SSHKEYGEN} -qt ${primary} -f $OBJ/hkr.${primary}-new -N '' || fatal "ssh-keygen ed25519"
H A Dforward-control.sh146 > ${OBJ}/authorized_keys_${USER} || fatal "sed 1 fail"
155 > ${OBJ}/authorized_keys_${USER} || fatal "sed 2 fail"
166 > ${OBJ}/authorized_keys_${USER} || fatal "sed 3 fail"
174 > ${OBJ}/authorized_keys_${USER} || fatal "sed 4 fail"
183 > ${OBJ}/authorized_keys_${USER} || fatal "sed 5 fail"
/openssh-portable/
H A Duidswap.c88 fatal("getgroups: %.100s", strerror(errno)); in temporarily_use_uid()
93 fatal("getgroups: %.100s", strerror(errno)); in temporarily_use_uid()
102 fatal("initgroups: %s: %.100s", pw->pw_name, in temporarily_use_uid()
107 fatal("getgroups: %.100s", strerror(errno)); in temporarily_use_uid()
112 fatal("getgroups: %.100s", strerror(errno)); in temporarily_use_uid()
121 fatal("setgroups: %.100s", strerror(errno)); in temporarily_use_uid()
131 fatal("setegid %u: %.100s", (u_int)pw->pw_gid, in temporarily_use_uid()
134 fatal("seteuid %u: %.100s", (u_int)pw->pw_uid, in temporarily_use_uid()
172 fatal("setgroups: %.100s", strerror(errno)); in restore_uid()
189 fatal("permanently_set_uid: no user given"); in permanently_set_uid()
[all …]
H A Dsandbox-capsicum.c76 fatal("%s: setrlimit(RLIMIT_FSIZE, { 0, 0 }): %s", in ssh_sandbox_child()
80 fatal("%s: setrlimit(RLIMIT_NOFILE, { 0, 0 }): %s", in ssh_sandbox_child()
84 fatal("%s: setrlimit(RLIMIT_NPROC, { 0, 0 }): %s", in ssh_sandbox_child()
90 fatal("can't limit stdin: %m"); in ssh_sandbox_child()
92 fatal("can't limit stdout: %m"); in ssh_sandbox_child()
94 fatal("can't limit stderr: %m"); in ssh_sandbox_child()
99 fatal("%s: failed to limit the network socket", __func__); in ssh_sandbox_child()
103 fatal("%s: failed to limit the logging socket", __func__); in ssh_sandbox_child()
105 fatal("%s: failed to enter capability mode", __func__); in ssh_sandbox_child()
H A Dxmalloc.c39 fatal("xmalloc: zero size"); in xmalloc()
42 fatal("xmalloc: out of memory (allocating %zu bytes)", size); in xmalloc()
52 fatal("xcalloc: zero size"); in xcalloc()
54 fatal("xcalloc: nmemb * size > SIZE_MAX"); in xcalloc()
57 fatal("xcalloc: out of memory (allocating %zu bytes)", in xcalloc()
69 fatal("xreallocarray: out of memory (%zu elements of %zu bytes)", in xreallocarray()
81 fatal("xrecallocarray: out of memory (%zu elements of %zu bytes)", in xrecallocarray()
105 fatal("xvasprintf: could not allocate memory"); in xvasprintf()
H A Dsandbox-systrace.c119 fatal("%s: kill(%d, SIGSTOP)", __func__, getpid()); in ssh_sandbox_child()
139 fatal("%s: child terminated with signal %d", in ssh_sandbox_parent()
142 fatal("%s: child exited with status %d", in ssh_sandbox_parent()
144 fatal("%s: child not stopped", __func__); in ssh_sandbox_parent()
151 fatal("%s: open(\"/dev/systrace\"): %s", __func__, in ssh_sandbox_parent()
154 fatal("%s: ioctl(STRIOCCLONE, %d): %s", __func__, in ssh_sandbox_parent()
159 fatal("%s: ioctl(%d, STRIOCATTACH, %d): %s", __func__, in ssh_sandbox_parent()
167 fatal("%s: ioctl(%d, STRIOCPOLICY (new)): %s", __func__, in ssh_sandbox_parent()
173 fatal("%s: ioctl(%d, STRIOCPOLICY (assign)): %s", in ssh_sandbox_parent()
192 fatal("%s: ioctl(%d, STRIOCPOLICY (modify)): %s", in ssh_sandbox_parent()
[all …]
H A Dauth-pam.c424 fatal("%s: buffer error: %s", in sshpam_thread_conv()
433 fatal("%s: buffer error: %s", in sshpam_thread_conv()
439 fatal("%s: buffer error: %s", in sshpam_thread_conv()
446 fatal("%s: buffer error: %s", in sshpam_thread_conv()
643 fatal("%s: buffer error: %s", in sshpam_store_conv()
905 fatal("%s: buffer error: %s", in sshpam_query()
914 fatal("Internal error: PAM auth " in sshpam_query()
1054 fatal("PAM: initialisation failed"); in start_pam()
1109 fatal("PAM: pam_setcred(): %s", in do_pam_setcred()
1189 fatal("PAM: pam_chauthtok(): %s", in do_pam_chauthtok()
[all …]
H A Dssh-keysign.c177 fatal("%s: pledge: %s", __progname, strerror(errno)); in main()
195 fatal("getpwuid failed"); in main()
212 fatal("ssh-keysign not enabled in %s", in main()
220 fatal("could not open any host key"); in main()
238 fatal("no hostkey found"); in main()
244 fatal("%s: sshbuf_new failed", __progname); in main()
246 fatal("%s: ssh_msg_recv failed", __progname); in main()
250 fatal("%s: bad version: received %d, expected %d", in main()
255 fatal("%s: bad fd = %d", __progname, fd); in main()
262 fatal("%s: not a valid request", __progname); in main()
[all …]
H A Dcompat.c165 fatal("match_filter_denylist failed"); in compat_cipher_proposal()
168 fatal("No supported ciphers found"); in compat_cipher_proposal()
179 fatal("match_filter_denylist failed"); in compat_pkalg_proposal()
182 fatal("No supported PK algorithms found"); in compat_pkalg_proposal()
195 fatal("match_filter_denylist failed"); in compat_kex_proposal()
200 fatal("match_filter_denylist failed"); in compat_kex_proposal()
204 fatal("No supported key exchange algorithms found"); in compat_kex_proposal()
H A Dssh-sk-helper.c73 fatal("%s: sshbuf_new failed", __progname); in reply_error()
76 fatal("%s: buffer error", __progname); in reply_error()
116 fatal("%s: Unsupported key type %s", in process_sign()
133 fatal("%s: sshbuf_new failed", __progname); in process_sign()
161 fatal("%s: sshbuf_new failed", __progname); in process_enroll()
176 fatal("%s: bad type %u", __progname, type); in process_enroll()
192 fatal("%s: sshbuf_new failed", __progname); in process_enroll()
223 fatal("%s: sshbuf_new failed", __progname); in process_load_resident()
243 fatal("%s: sshbuf_new failed", __progname); in process_load_resident()
313 fatal("ssh_msg_recv failed"); in main()
[all …]
H A Dssh-keygen.c299 fatal("bad key type"); in ask_filename()
521 fatal("sshkey_new failed"); in do_convert_private_ssh2()
642 fatal("sshbuf_new failed"); in do_convert_from_ssh2()
699 fatal("sshkey_new failed"); in do_convert_from_pkcs8()
705 fatal("sshkey_new failed"); in do_convert_from_pkcs8()
798 fatal("key write failed"); in do_convert_from()
874 fatal("no pkcs11 support"); in do_download()
885 fatal("sshkey_new failed"); in try_read_key()
1718 fatal("no pkcs11 support"); in load_pkcs11_key()
2150 fatal("sshkey_new"); in do_show_cert()
[all …]
H A Dentropy.c91 fatal("You must specify a port or a socket"); in get_random_bytes_prngd()
94 fatal("Random pool path is too long"); in get_random_bytes_prngd()
96 fatal("Too many bytes (%d) to read from PRNGD", len); in get_random_bytes_prngd()
198 fatal("%s: buffer error: %s", __func__, ssh_err(r)); in rexec_send_rng_seed()
210 fatal("%s: buffer error: %s", __func__, ssh_err(r)); in rexec_recv_rng_seed()
228 fatal("OpenSSL version mismatch. Built against %lx, you " in seed_rng()
237 fatal("Could not obtain seed from PRNGd"); in seed_rng()
243 fatal("PRNG is not seeded"); in seed_rng()
H A Dservconf.c803 fatal("bad addr or host: %s (%s)", in add_one_listen_addr()
1129 fatal("Invalid Match localaddress " in match_cfg_line()
1323 fatal("%s line %d: too many ports.", in process_server_config_line_depth()
1352 fatal("%s line %d: missing address", in process_server_config_line_depth()
1370 fatal("%s line %d: bad port number", in process_server_config_line_depth()
1528 fatal("%s line %d: unsupported " in process_server_config_line_depth()
2071 fatal("%s line %d: include \"%s\" " in process_server_config_line_depth()
2297 fatal("%.200s line %d: " in process_server_config_line_depth()
2310 fatal("%s line %d: missing " in process_server_config_line_depth()
2324 fatal("%s line %d: \"any\" " in process_server_config_line_depth()
[all …]
H A Dsandbox-darwin.c68 fatal("%s: sandbox_init: %s", __func__, errmsg); in ssh_sandbox_child()
76 fatal("%s: setrlimit(RLIMIT_FSIZE, { 0, 0 }): %s", in ssh_sandbox_child()
79 fatal("%s: setrlimit(RLIMIT_NOFILE, { 0, 0 }): %s", in ssh_sandbox_child()
82 fatal("%s: setrlimit(RLIMIT_NPROC, { 0, 0 }): %s", in ssh_sandbox_child()
H A Dplatform-tracing.c39 fatal("unable to make the process undumpable"); in platform_disable_tracing()
44 fatal("unable to make the process untraceable"); in platform_disable_tracing()
49 fatal("unable to set PT_DENY_ATTACH"); in platform_disable_tracing()
H A Dmoduli.c323 fatal("BN_new failed"); in gen_candidates()
330 fatal("BN_new failed"); in gen_candidates()
333 fatal("BN_rand failed"); in gen_candidates()
336 fatal("BN_copy: failed"); in gen_candidates()
341 fatal("BN_set_bit: failed"); in gen_candidates()
428 fatal("BN_add failed"); in gen_candidates()
601 fatal("BN_new failed"); in prime_test()
603 fatal("BN_new failed"); in prime_test()
667 fatal("BN_hex2bn failed"); in prime_test()
670 fatal("BN_lshift failed"); in prime_test()
[all …]
H A Dauth-sia.c93 fatal("sia_ses_init failed"); in session_setup_sia()
97 fatal("sia_make_entity_pwd failed"); in session_setup_sia()
102 fatal("Couldn't establish session for %s from %s", in session_setup_sia()
106 fatal("Couldn't launch session for %s from %s", in session_setup_sia()
/openssh-portable/openbsd-compat/
H A Dport-solaris.c276 fatal("priv_allocset: %s", strerror(errno)); in solaris_drop_privs_pinfo_net_fork_exec()
278 fatal("solaris_basic_privset: %s", strerror(errno)); in solaris_drop_privs_pinfo_net_fork_exec()
285 fatal("priv_addset: %s", strerror(errno)); in solaris_drop_privs_pinfo_net_fork_exec()
294 fatal("priv_delset: %s", strerror(errno)); in solaris_drop_privs_pinfo_net_fork_exec()
297 fatal("getppriv: %s", strerror(errno)); in solaris_drop_privs_pinfo_net_fork_exec()
304 fatal("setppriv: %s", strerror(errno)); in solaris_drop_privs_pinfo_net_fork_exec()
317 fatal("solaris_basic_privset: %s", strerror(errno)); in solaris_drop_privs_root_pinfo_net()
325 fatal("priv_delset: %s", strerror(errno)); in solaris_drop_privs_root_pinfo_net()
330 fatal("setppriv: %s", strerror(errno)); in solaris_drop_privs_root_pinfo_net()
351 fatal("priv_delset: %s", strerror(errno)); in solaris_drop_privs_root_pinfo_net_exec()
[all …]
H A Dport-irix.c63 fatal("Failed to create job container: %.100s", in irix_setusercontext()
69 fatal("Failed to set up new array session: %.100s", in irix_setusercontext()
79 fatal("Failed to initialize project %d for %s: %.100s", in irix_setusercontext()

12345