

TERMIUS EMPTY PASSPHRASE KEY PASSWORD
So when you do a ssh -i /root/.ssh/id_rsa works without any password (if you didn't set a password when using ssh-keygen -t rsa, it prompted you, and you have to hit enter twice, don't enter any value)Īlso, it looks like you created a user called webuser, but you are trying to perform your ssh from the root user. If you try to ssh to the root account of another machine, you also need to ensure that its sshd_config file has PermitRootLogin yes or WithoutPassword noĪnd reminder : the public key you generate need to be deployed in the target user's authorized_key file.

How secure is the private key file If you tend to work from multiple client systems and want to either have multiple copies of your key or keep a copy on removable media, then it really is a good idea to have a passphrase on the private key. ensure that your destination authorized_keys has the right perms also (usually 644) There are several things to think about when considering an empty passphrase for your SSH private key.ssh folder has the right permissions (usually 700) and not something too open (e.g not 775 or other) Ssh Found key in /root/.ssh/known_hosts:1ĭebug1: ssh_ecdsa_verify: signature correctĭebug2: key: /root/.ssh/id_ecdsa ((nil)),ĭebug2: key: /root/.ssh/id_ed25519 ((nil)),ĭebug1: Authentications that can continue: publickeyĭebug3: start over, passed a different list publickeyĭebug3: preferred gssapi-keyex,gssapi-with-mic,publickey,keyboard-interactive,passwordĭebug3: remaining preferred: keyboard-interactive,passwordĭebug1: Next authentication method: publickeyĭebug1: Trying private key: /root/.ssh/id_rsaĭebug1: key_parse_private2: missing begin markerĭebug1: key_parse_private_pem: PEM_read_PrivateKey failedĮnter passphrase for key '/root/.ssh/id_rsa':ĭebug2: no passphrase given, try next keyĭebug1: Trying private key: /root/.ssh/id_dsaĭebug3: no such identity: /root/.ssh/id_dsa: No such file or directoryĭebug1: Trying private key: /root/.ssh/id_ecdsaĭebug3: no such identity: /root/.ssh/id_ecdsa: No such file or directoryĭebug1: Trying private key: /root/.ssh/id_ed25519ĭebug3: no such identity: /root/.ssh/id_ed25519: No such file or directoryĭebug2: we did not send a packet, disable methodĭebug1: No more authentication methods to try. Can anyone see any obvious error with my commands to create the key?: useradd -m -d /home/webuser -s /bin/bash webuser

I have made a new user and key but when I access remotely its asking for passphrase but I didn't set one.
