1

I've tried:

~/.ssh/config

User myusername

and

Host *
    User myusername

And Putty > Connection > Data > Auto-login username myusername

And even setting the value in the registry

Seems to work fine on Windows 10 with the .ssh/config

1 Answer 1

0

Ah, I had User myusername in ~/.ssh/config.txt instead of ~/.ssh/config and didn't realize it because Windows hides extensions by default. Renaming the file to config made it work. I set the private key information via Putty SSh Connection Auth that was gen'd

enter image description here

2
  • I am confused by this answer. How does that option do what your looking for?
    – Ramhound
    Commented Jul 14, 2023 at 1:57
  • Because I had ~/.ssh/config.txt with the contents User myusername and it should have been renamed ~/.ssh/config
    – Jonathan
    Commented Jul 19, 2023 at 14:35

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .