Update the how it works section
This commit is contained in:
parent
2d772d7243
commit
dea79f16d0
@ -107,16 +107,18 @@ editor, respectively:
|
|||||||
How it works
|
How it works
|
||||||
----------------
|
----------------
|
||||||
|
|
||||||
The ssh kitten works by having SSH transmit and execute a POSIX sh (or optionally
|
The ssh kitten works by having SSH transmit and execute a POSIX sh (or
|
||||||
Python) bootstrap script on the remote server using an :opt:`interpreter
|
optionally Python) bootstrap script on the remote server using an
|
||||||
<kitten-ssh.interpreter>`. This script asks kitty for the setup data over
|
:opt:`interpreter <kitten-ssh.interpreter>`. This script reads setup data over
|
||||||
the tty device, which kitty sends as a tarball. The script extracts it and
|
the tty device, which kitty sends as a base64 encoded tarball. The script
|
||||||
places the :opt:`files <kitten-ssh.copy>` and sets the :opt:`environment
|
extracts it and places the :opt:`files <kitten-ssh.copy>` and sets the
|
||||||
variables <kitten-ssh.env>` before finally launching the :opt:`login shell
|
:opt:`environment variables <kitten-ssh.env>` before finally launching the
|
||||||
<kitten-ssh.login_shell>` with shell integration enabled. The data is requested
|
:opt:`login shell <kitten-ssh.login_shell>` with shell integration enabled. The
|
||||||
with a one-time random password that is generated when the script is transmitted, so
|
data is requested by the kitten over the TTY with a random one time password.
|
||||||
that on the remote server, only the script can request data transmission over
|
kitty reads the request and if the password matches a password pre-stored in
|
||||||
the TTY, any other requests are responded to by errors.
|
shared memory on the localhost by the kitten, the transmission is allowed. If
|
||||||
|
your OpenSSH version is >= 8.4 then the data is transmitted instantly without
|
||||||
|
any roundtrip delay.
|
||||||
|
|
||||||
.. note::
|
.. note::
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user