Keep forgetting how to…
- Use e.g. PuTTYgen to generate a key.
Note: Fill out “Key comment” unless you want a rather messy, uninformative
- Add public key on server:
mkdir -pm 700 ~/.ssh
chmod 600 ~/.ssh/authorized_keys
Should then work as long as the private key is then added to Pageant, WinSCP config, etc, etc.
Installed Windows Server on a VM, and the method I’ve used earlier apparently isn’t available in the server version of Windows. Found you can still do it through the registry. Either stick the following in a reg file, adjust and run, or just set the values manually through regedit.
Windows Registry Editor Version 5.00
No longer need to login every time I boot up my virtual test server…
I’m the only one who use my computer and it’s in my room and I don’t really care about locking it or anything like that. I just find it annoying that I have to type a password everytime I boot it up or it comes back from sleep or screen saver mode.
I usually do this whenever I reinstall Windows. At least on my desktop computer. My laptops usually have password protection enabled. Anyways, I don’t reinstall that often so I always forget how to do it. Even though it’s very simple… Decided to share the procedure here, so I know where to find it 🙂
Continue reading Automatic login in Windows 7 for lazy single users