SSH Error tilde_expand: No such user \\.ssh\\id_rsa
Quote from moshe on 03/11/2022, 2:34 pmProblem
User tries to SSH from windows system to another server / linux and get the following error
ssh moshe@10.0.0.1
tilde_expand: No such user \\.ssh\\id_rsaSolution
This is usually happens because of ssh misconfiguration. easiast solution to delete the entire directory ( if you dont have authrozied keys )
cd ~/.ssh
rm -rf *
If you don’t / can’t want to delete the directory
search for the host in the files inside the directory and remove the specific entries
Problem
User tries to SSH from windows system to another server / linux and get the following error
ssh moshe@10.0.0.1
tilde_expand: No such user \\.ssh\\id_rsa
Solution
This is usually happens because of ssh misconfiguration. easiast solution to delete the entire directory ( if you dont have authrozied keys )
cd ~/.ssh
rm -rf *
If you don’t / can’t want to delete the directory
search for the host in the files inside the directory and remove the specific entries