New answers tagged openssh
I've figured out what's going on. The messages are coming to the server from remote hosts via UDP. I didn't notice the host field changing at first, my mistake. BTW, actually there is a possibility to login using public key authentication with no authorized_keys file involved. RedHat (and variants) have a supported patch for OpenSSH that adds the ...
There seems to be a lot of confusion on the difference between a host key, and a user key. A host key is used to establish the identity of the remote host to you. A user key is used to establish the identity of yourself to the remote host. Since these keys are typically shown as just a sequence of characters, it can be difficult for a human to tell at a ...
I have a less complicated answer, and surely not a keylogger. I don't get your point of being server log independent (this means that all the actions need to be taken to the server and all logs are server side logs), and thus I thought that a good idea is to pass to system wide bashrc a prompt command like: PROMPT_COMMAND='history -a >(tee -a ...
I found a solution. In the OpenVPN configuration file /etc/openvpn/server.conf you can specify a script to run on up. If you take a look at the OpenVPN manual page man openvpn, you will see --up cmd. In the /etc/openvpn/server.conf configuration file, I added a line: up "/etc/openvpn/up.sh" This file is one that I created and will be executed when the ...
Looks like ssh uses upstart, but openvpn doesn't ... you might be able to force ssh to come up delayed by doing this, but it's untested (I don't want to mess up my install): update-rc.d ssh defaults 99 And as it's untested: CAVEAT EMPTOR
This was explained in this question: http://superuser.com/questions/22535/what-is-randomart-produced-by-ssh-keygen. It doesn't really have any use for the user generating the key, rather it's for ease of validation. Personally. would you rather look at this: (Please note this is a host key example) 2048 1b:b8:c2:f4:7b:b5:44:be:fa:64:d6:eb:e6:2f:b8:fa ...
I usually run passwd after useradd to set the password as I want it. But if you are provisioning and doing this from a script you may need to use crypt and provide the encrypted password on the command line.
Similar to Amal Chaudhuri's method below, this is what worked for me. I needed to create a pem file from the ssh public key I'd generated for my SFTP client (Cyberduck). openssl rsa -in ~/.ssh/id_rsa -outform pem > id_rsa.pem
Top 50 recent answers are included