This is a Canonical Question about Connection Refused
We see a lot of questions to the effect
When I try to connect to a system I get a message
Connection refused
Why is this ?
This is a Canonical Question about Connection Refused
We see a lot of questions to the effect
When I try to connect to a system I get a message
Connection refused
Why is this ?
In Chrome, clicking on the green HTTPS lock icon opens a window with the certificate details:
When I tried the same with cURL, I got only some of the information:
$ curl -vvI https://gnupg.org
* Rebuilt URL to: https://gnupg.org/
* Hostname was NOT found in DNS cache
* Trying 217.69.76.60...
* Connected to gnupg.org (217.69.76.60) port 443 (#0)
* TLS 1.2 connection using TLS_DHE_RSA_WITH_AES_128_CBC_SHA
* Server certificate: gnupg.org
* Server certificate: Gandi Standard SSL CA
* Server certificate: UTN-USERFirst-Hardware
> HEAD / HTTP/1.1
> User-Agent: curl/7.37.1
> Host: gnupg.org
> Accept: */*
Any idea how to get the full certificate information form a command line tool (cURL or other)?
This is a Canonical Question about using cron & crontab.
You have been directed here because the community is fairly sure that the answer to your question can be found below. If your question is not answered below then the answers will help you gather information that will help the community help you. This information should be edited into your original question.
The answer for 'Why is my crontab not working, and how can I troubleshoot it?' can be seen below. This addresses the cron
system with the crontab highlighted.
I believe this is not possible, but someone I know insisted that it works. I don't even know what parameters to try, and I haven't found this documented anywhere.
I tried http://myserver.com/~user=username&password=mypassword but it doesn't work.
Can you confirm that it's not in fact possible to pass the user/pass via HTTP parameters (GET or POST)?
Possible Duplicate:
Connect through SSH and type in password automatically, without using a public key
I have a bash script that makes dump of DB then copies file from one server to another but it always asks for password before connection.
scp file.tar.gz [email protected]:/backup
Is there a way to pass password directly into script ?
I'm using Fail2Ban on a server and I'm wondering how to unban an IP properly.
I know I can work with IPTables directly: iptables -D fail2ban-ssh <number>
But is there not a way to do it with the fail2ban-client
?
In the manuals it states something like: fail2ban-client get ssh actionunban <IP>
. But that doesn't work.
Also, I don't want to /etc/init.d/fail2ban restart
as that would lose all the bans in the list.
I have a .cer
certificate and I would like to convert it to the .pem
format.
If I remember correctly, I used to be able to convert them by exporting the .cer
in Base64, then renaming the file to .pem
.
How do I convert a .cer
certificate to .pem
?
How to automate SSH login with password? I'm configuring my test VM, so heavy security is not considered. SSH chosen for acceptable security with minimal configuration.
ex)
echo password | ssh id@server
This doesn't work.
I remember I did this with some tricks somebody guided me, but I can't remember now the trick I used...
I was wondering if someone could give me a simple guide on how to set up virtual networking in VirtualBox (4.0.2) so that the following scenarios work:
I've been fiddling around with the various Network Adapters available in the settings for my Guest, but I'm just not able to figure it out. Is there anyone that can help me out here?
The host is running Windows 7 32-bit and the guest is running Ubuntu 10.10 32-bit.
My Git setup runs fine on Linux, but when I try to set things up under Windows (using Git for Windows and TortoiseGit), I don't know where to put my private SSH key (or, better still, how to tell ssh
where it's located). I'm using the standard ssh.exe option during installation of Git for Windows. The setup runs fine if I allow password authentication (in lieu of RSA) on the server.
How do I set the Access-Control-Allow-Origin header so I can use web-fonts from my subdomain on my main domain?
Notes:
You'll find examples of this and other headers for most HTTP servers in the HTML5BP Server Configs projects https://github.com/h5bp/server-configs
We're on a corporate network thats running active directory and we'd like to test out some LDAP stuff (active directory membership provider, actually) and so far, none of us can figure out what our LDAP connection string is. Does anyone know how we can go about finding it? The only thing we know is the domain that we're on.
I have Ubuntu 9.10 installed with sshd
and I can successfully connect to it using login and password. I have configured an RSA
key login and now have "Server refused our key" as expected. Ok, now I want to check sshd
log in order to figure out a problem. I have examined /etc/ssh/sshd_config
and it have
SyslogFacility AUTH
LogLevel INFO
Ok. I'm looking at /var/log/auth.log
and... it's empty O_O. Changing Loglevel
to VERBOSE
helps nothing - auth.log
is still empty. Any hints how I can check sshd
log?
I have just installed postgres 8.4 on Ubuntu 9.10 and it has never asked me to create a superuser. Is there a default superuser and its password? If not, how do I create a new one?