Comments (3)
I'm having problems reproducing this. I think I managed to do it once, but I can't see how now. Everything works as I expect, all the way down to the "move" dialog:
---------------------------
Security risk
---------------------------
The host key is cached in the Windows registry. Do you want to move it to a file?
Yes -> Move to file (and delete from registry)
No -> Copy to file (and keep in registry)
Cancel -> nothing will be done
---------------------------
Yes No Cancel
---------------------------
I've tried many combinations, especially around the sshhostkeys directory not existing (either in the filesystem, or the registry, or both). The code is.. overly complex, however, so I could believe that it's broken. See file_verify_host_key and file_store_host_key.
Steps to reproduce, please? :)
from puttytray.
If I set StorageType to 1 in my saved session files, then they will behave correctly and the key will be stored in the sshhostkeys directory. All of my sessions from the old version of PuTTY Tray had gotten their StorageType set to 0, so this is why none of my old sessions would work correctly.
If I type a connection, it defaults to checking the registry UNLESS I click on "Sessions from file" even though it is already selected upon opening. Clicking "sessions from file" once and either opening or saving the new connection works as expected. This happens when saving a session too, even if "sessions from file" is already selected.
There is another fork of the vanilla PuTTY that has rewritten winstore.c available http://jakub.kotrla.net/putty/ . It handles session files by default seems to do a very good job at it. It doesn't write anything into the registry. Perhaps it would be a good reference?
from puttytray.
The removal of StorageType from the config files under GH-10 should resolve @daschu117's usecase (hah, I knew it was bad!).
This seems to work better now in every case I can think of.
from puttytray.
Related Issues (20)
- Option to have Ctrl+minimize cause a minimization to system tray
- Screen refresh bug when start from cli
- Slow download network speed over plink HOT 1
- Emoji characters cause lingering ghost characters when screen updates HOT 1
- Cant send username and password with ASG-RemoteDesktop 2017 HOT 1
- Is the project dead? (Not compatible with Windows 10 Creator 1703) HOT 3
- Project status HOT 56
- Fatal Error (line==NULL in terminal.c) when opening Urls menu HOT 1
- "perl mkfiles.pl" doesn't work anymore? HOT 3
- Commit 16f019fee7 (url: merge a load of code from t67) creates many references to undefined variables in window.c HOT 1
- Session file location? HOT 3
- Build every commit on Appveyor HOT 8
- opacity in registry entry
- PuTTY release 0.71
- Howto use pagent functionality of PuTTYTray for PuTTY 0.71 or alternatives?
- Duplicate Session and New Session inactive
- ADB - Any way to auto-send a shell command once started?
- Putty Version 0.73 HOT 1
- New Encrypt method is needed for PuttyTray to connect SSH-2.0-OpenSSH_8.8 or higher !
- CVE-2024-31497 Secret Key Recovery of NIST P-521 Private Keys Through Biased ECDSA Nonces HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from puttytray.