FG
💻 Software

How to SSH to localhost without password?

Fresh7 days ago
Mar 15, 202678159 views
Confidence Score0%
0%

Problem

EDIT: Putting exactly what was done. I need to SSH to without a password, the usual way of doing it (with public keys) do not work. So as you can see in the last command it is still asking the password !!! How can I fix that ?? Ubuntu-10.04 , OpenSSH_5.3p1 EDIT2: Adding some info about the sshd EDI…

Error Output

user@PC:~$ rm -rf .ssh/*
user@PC:~$ ssh-keygen -t rsa > /dev/null 
Enter file in which to save the key (/home/user/.ssh/id_rsa): 
Enter passphrase (e…

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: How to SSH to localhost without password?

Low Risk

First of all, you should understand what your doing: You are copying the public key through ssh, to the same host (that is what localhost is, the same host). If you replace with some other host, that would make more sense (but if you are trying this…

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment