To give you the best experience, this site uses cookies. Continuing to use 9bis.net means you agree to our use of cookies.
 

English version Russian version Version française Nederlandse versie Versión española Version portuguese Version polonaise Italian version Versiunea româna   KiTTY News

KiTTY : Forum

Last modification : -

KiTTY web site




Forum Home
 

sharing config between two computers

john - Tue 19/09/2017 14:49:15 CEST +0200

Hi, I have a laptop and dekstop, and with putty keeping them in sync was a pain (frequent export of registry, or manual setup of new sites).

I see that kitty has a save to file option.

If I set this on both machines, and point both to the same onedrive folder, will this work?

I do have some sessions with auto-login passwords set. I see there is an option to encrypt these, but I dont understand how this works. Is there a global password I could set and use on both machines?

Thanks!

John.

Manu - Wed 20/09/2017 09:12:47 CEST +0200

Hi,

I do this for years! KiTTY with all config in files and a "Sync" files service (any that you like).
However, take into account that you need to use a "secure" Sync service!

Cyd - Wed 20/09/2017 09:15:36 CEST +0200

Password is encrypted in your session settings file.
But there is no "global" password.

Aleks - Wed 20/09/2017 23:01:46 CEST +0200

Hi, I would like to do something similar with Kitty and I'd like to know if this is possible: launch a local/portable instance of Kitty (e.g. in C:\Software\Kitty) but use a Sessions folder located somewhere else, in a different folder than the kitty.exe or kitty_portable.exe. But so far, whenever I launch kitty.exe it always looks for a Sessions folder (and ini file) located in the same folder as the exe file. I also tried editing the ini file and setting something like "configdir=X:\Kitty" where X: would be for example a network folder I could mount on all PCs where I want to use Kitty with the same Sessions files. Is this possible somehow, to tell it where to look for the Sessions files?

Manu - Fri 22/09/2017 14:52:25 CEST +0200

> "configdir=X:\Kitty"

Great idea!

Aleks - Fri 22/09/2017 19:17:15 CEST +0200

> "Great idea!"
Yea but it doesn't seem to work! Does setting this option work for you?

Cyd - Sat 23/09/2017 21:10:52 CEST +0200

To point to a specific directory for the configuration you must add these lines to your %APPDATA%/KiTTY/kitty.ini file
[KiTTY]
configdir=X:\Kitty

Aleks - Mon 25/09/2017 21:34:40 CEST +0200

Cyd,
Can you explain a bit more how this works? Are you saying for a non-portable KiTTY you have to have a %APPDATA%/KiTTY/kitty.ini with at least those two lines, and then in X:\Kitty you will place another kitty.ini and subfolders that will override what's in the first kitty.ini file?

How can this work for kitty_portable.exe, where it presumably doesn't look for a %APPDATA%/KiTTY/kitty.ini file, is it possible to specfiy an alternate config directory, and if so, what configuration can be moved to the alternate location?

Cyd - Mon 25/09/2017 22:41:25 CEST +0200

Sorry for that, I never use portable mode !
In portable mode kitty.ini is located in the same directory where kitty.exe is.

Aleks - Tue 26/09/2017 00:25:23 CEST +0200

So after messing around with it I see that %APPDATA%/KiTTY/kitty.ini will be the ONLY ini file that's needed. If I'm not mistaken when you use "savemode=dir" then no .sav file is needed at all in any location?




Answer


The forum is actually closed