This is archived documentation for an older version of Nirvana (v2.0).
Please refer to documentation for the
latest version if required.
P2P Shell Server and Client
|
The P2P Shell server and
client demonstrate how Nirvana's P2P can extend the
reach of a local operating system shell. The nP2PShellServer
accepts connection requests from nP2PShell
client and executes a new shell for each client connection,
in effect creating a remote shell.
To use the app to extend the reach of a Windows based
shell type the following command:
Java -DRNAME=nsp://127.0.0.1:9000/ -DSHELL=cmd.exe
com.pcbsys.Nirvana.apps.nP2PShellServer
To use the app to extend the reach of a Unix based
shell type the following command:
Java -DRNAME=nsp://127.0.0.1:9000/ -DSHELL=sh com.pcbsys.Nirvana.apps.nP2PShellServer
Once the server is running you can start any number
of client sessions with the server. To start a client
type the following command:
Java -DRNAME=nsp://127.0.0.1:9000/ com.pcbsys.Nirvana.apps.nP2PShell
The client will connect to the P2P service attached
the realm specified by the RNAME.
The remote client will then be directly presented with
the shell contents. As commands are typed the contents
of the shell will be displayed within the P2P client.
|
|
|