improve a little Usage jaaj and prepare rsp

This commit is contained in:
primardj 2024-02-03 00:27:05 +00:00
parent cdf7896f26
commit 9b4330aeb0

View file

@ -26,18 +26,18 @@ $(basename $0) PROTOCOL [OPTION] [OPTION=VALUE]
script which permit to launch a remote connection protocol. script which permit to launch a remote connection protocol.
PROTOCOL available PROTOCOL available
ssh A command line protocol which can be used to connect with tcp ssh A command line protocol which can be used to connect with tcp
rsp The windows remote server protocol rsp The windows remote server protocol
PROTOCOL #TODO PROTOCOL #TODO
vnc Virtual Networking Computing, permit to have access to a graphical user interface. vnc Virtual Networking Computing, permit to have access to a graphical user interface.
OPTION available OPTION available
-v, --version print the version and exit -v, --version print the version and exit
-h, --help print this help and exit -h, --help print this help and exit
-u <user>,--user=<user> Select the user, by default root -u <user>,--user=<user> Select the user, by default root
-p <port>,--port=<port> Select the port, by default 10022 -p <port>,--port=<port> Select the port, by default 10022
-H <hostname>, --hostname=<hostname> Select the host to connect -H <hostname>, --hostname=<hostname> Select the hostname to connect
" "
@ -136,8 +136,6 @@ case "${protocol}" in
esac esac
echo try to connect with user=${user} and port=${port}
echo port=${port}