03-11-2008
Thanks... guys....
10 More Discussions You Might Find Interesting
1. Solaris
Can someone tell me what I can do to maintain a single history file ?
As it is it creates a new file for each session.
>ls -a .sh_*
.sh_history.10106 .sh_history.15240 .sh_history.21635 .sh_history.4291
.sh_history.11311 .sh_history.16593 .sh_history.23709 .sh_history.4661... (3 Replies)
Discussion started by: jxh461
3 Replies
2. Solaris
i got solaris 10 DVD and i install it on intel 64.
how do i set history to vi for command line? i can use backup space as well, it goes with "^H".
this won't work, export EDITOR=vi, it response with not an identifier.
thanks
itik (4 Replies)
Discussion started by: itik
4 Replies
3. Shell Programming and Scripting
We need to su to root in 1000 systems, so it is almost impossible to add "stty erase ^H" to every .profile on these systems.
Is there any way to set delete key to erase automatically after running "su -"?
Thanks :) (4 Replies)
Discussion started by: aixlover
4 Replies
4. HP-UX
Hi,
I'm newbie with HP-UX. My Unix install with DB Oracle. In linux, when we type directory we don't need to type full. We can use Tab key. In Unix, i cannot use Tab key and i need to write whole directory. Other thing, how use Arrow key in Unix? I mean use command already i type.
Is it... (1 Reply)
Discussion started by: mzainal
1 Replies
5. Solaris
Hi, I've used the following way to set ssh public key authentication and it is working fine on Solaris 10, RedHat Linux and SuSE Linux servers without any problem. But I got error 'Server refused our key' on Solaris 8 system. Solaris 8 uses SSH2 too. Why? Please help. Thanks.
... (1 Reply)
Discussion started by: aixlover
1 Replies
6. UNIX for Dummies Questions & Answers
guys
can any one help me how to set top arrow to get the history of last used commands.I am using ksh (3 Replies)
Discussion started by: etldev
3 Replies
7. Shell Programming and Scripting
Hi
I have a plotting function like this-
plot '../processing_old/time0.txt' using 1:6 title "1.6" with boxes fs solid 0.05 ls 5,\
'time0.txt' using 1:6 title "1.7" with boxes fs solid 0.05 ls 6,\
'../processing_new/time0.txt' using 1:6 title "2.0" with boxes fs solid... (8 Replies)
Discussion started by: jamie_123
8 Replies
8. UNIX for Advanced & Expert Users
I am trying to get my history in sync in multiple bash sections and things aren't working the way I expect.
Desired behavior, hitting esc-K in all bash sessions (same userid and machine) will use the same history.
Observed behavior: Esc-k shows the history of the current session, rather than... (8 Replies)
Discussion started by: gg48gg
8 Replies
9. UNIX for Beginners Questions & Answers
why in solaris 10 I do not get history when I have the role as root?
computer.root > history
I get history:not found
I am in computer.root > echo $SHELL
/bin/sh
computer.root >
how can I see roots history in the sh shell?
but in other shells I can only see my... (6 Replies)
Discussion started by: goya
6 Replies
10. Shell Programming and Scripting
Hello everybody,
I am using Windows 10. I need to plot several graphs simultaneously with Gnuplot. The script is:
GNUTERM = "wxt"
set terminal wxt
set termoption enhanced
set encoding iso_8859_1
set multiplot layout 2,3
set xtics out
set ytics out
set xtics nomirror
set ytics... (4 Replies)
Discussion started by: supernono06
4 Replies
LEARN ABOUT MOJAVE
curlopt_proxy_ssl_verifypeer
CURLOPT_PROXY_SSL_VERIFYPEER(3) curl_easy_setopt options CURLOPT_PROXY_SSL_VERIFYPEER(3)
NAME
CURLOPT_PROXY_SSL_VERIFYPEER - verify the proxy's SSL certificate
SYNOPSIS
#include <curl/curl.h>
CURLcode curl_easy_setopt(CURL *handle, CURLOPT_PROXY_SSL_VERIFYPEER, long verify);
DESCRIPTION
Pass a long as parameter set to 1L to enable or 0L to disable.
This option tells curl to verifies the authenticity of the HTTPS proxy's certificate. A value of 1 means curl verifies; 0 (zero) means it
doesn't.
This is the proxy version of CURLOPT_SSL_VERIFYPEER(3) that's used for ordinary HTTPS servers.
When negotiating a TLS or SSL connection, the server sends a certificate indicating its identity. Curl verifies whether the certificate is
authentic, i.e. that you can trust that the server is who the certificate says it is. This trust is based on a chain of digital signa-
tures, rooted in certification authority (CA) certificates you supply. curl uses a default bundle of CA certificates (the path for that is
determined at build time) and you can specify alternate certificates with the CURLOPT_PROXY_CAINFO(3) option or the CURLOPT_PROXY_CAPATH(3)
option.
When CURLOPT_PROXY_SSL_VERIFYPEER(3) is enabled, and the verification fails to prove that the certificate is authentic, the connection
fails. When the option is zero, the peer certificate verification succeeds regardless.
Authenticating the certificate is not enough to be sure about the server. You typically also want to ensure that the server is the server
you mean to be talking to. Use CURLOPT_PROXY_SSL_VERIFYHOST(3) for that. The check that the host name in the certificate is valid for the
host name you're connecting to is done independently of the CURLOPT_PROXY_SSL_VERIFYPEER(3) option.
WARNING: disabling verification of the certificate allows bad guys to man-in-the-middle the communication without you knowing it. Disabling
verification makes the communication insecure. Just having encryption on a transfer is not enough as you cannot be sure that you are commu-
nicating with the correct end-point.
DEFAULT
1
PROTOCOLS
All
EXAMPLE
CURL *curl = curl_easy_init();
if(curl) {
curl_easy_setopt(curl, CURLOPT_URL, "https://example.com");
/* Set the default value: strict certificate check please */
curl_easy_setopt(curl, CURLOPT_PROXY_SSL_VERIFYPEER, 1L);
curl_easy_perform(curl);
}
AVAILABILITY
Added in 7.52.0
If built TLS enabled.
RETURN VALUE
Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not.
SEE ALSO
CURLOPT_PROXY_SSL_VERIFYHOST(3), CURLOPT_SSL_VERIFYPEER(3), CURLOPT_SSL_VERIFYHOST(3),
libcurl 7.54.0 December 16, 2016 CURLOPT_PROXY_SSL_VERIFYPEER(3)