Forum Navigation
You need to log in to create posts and topics.

tilde_expand: No such user \\.ssh\\id_rsa

Problem

User tries to SSH to remote host and gets the following Error

tilde_expand: No such user \\.ssh\\id_rsa

Solution

check the files under the $HOMEDIR/.ssh

in my case the file config created and maintained by visual studio for remote SSH connections had typo in the hosts entry I'm trying to SSH

remove the lines and re-create them saved the file again solved the issue

 

 

Note: This can also effect git and other remote work tools using SSH