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
 

Login Script Content encryption

Giuseppe - Sat 21/02/2015 11:10:04 CET +0100

Hi,
I need a batch script that dynamically edit a .ktx session file with the Login Script Content. So, how can I encrypt a command?
E.G., my login script is:

$
sudo -sH
:
test

and the exported .ktx file contains:
ScriptfileContent\2n2xn2Os4%2FZIYCBSWThP4MPMZA9iuisnxx\

So, how can I make this conversion using a batch?

Thank you for this great software!
Giuseppe

Cyd - Tue 24/02/2015 16:03:12 CET +0100

unfortunately it is not possible

Giuseppe - Wed 25/02/2015 13:57:21 CET +0100

Mmm, ok thanks.
But, otherwise, it's possible save a session with a script file path rather than script file content, as in the older versions?
I tried:
Scriptfile\"C:\some_path\some_script_file.txt"\

with or without quotes, or with script in the same folder, no way.

Or, it's possible pass script file in command line?

Thank you,
Giuseppe

Cyd - Thu 05/03/2015 13:19:34 CET +0100

A new option -loginscript will be available in the next official release.
(currently in beta).

Giuseppe - Thu 19/03/2015 10:34:01 CET +0100

Perfect, it's what I wanted!

Thank you,
Giuseppe




Answer


The forum is actually closed