Compare commits

...

2 Commits

Author SHA1 Message Date
453a453f4f version bump 2023-09-16 22:07:39 +02:00
31b5e29c69 echo ssh command 2023-09-16 22:03:41 +02:00

3
s3h.sh
View File

@ -3,7 +3,7 @@
# config # config
DIALOG=dialog #gdialog kdialog DIALOG=dialog #gdialog kdialog
START_DIR='~/.s3h' START_DIR='~/.s3h'
VERSION="1.3" VERSION="1.4"
# TODO: use opt parsing # TODO: use opt parsing
if [[ $# -eq 1 && "$1" == "-v" ]]; then if [[ $# -eq 1 && "$1" == "-v" ]]; then
@ -96,5 +96,6 @@ if [[ -f "$configFile" ]]; then
echo "config file '$configFile' selected. connecting..." echo "config file '$configFile' selected. connecting..."
# execute ssh # execute ssh
echo "Running 'ssh ${para[@]} `basename \"$configFile\"`'"
ssh ${para[@]} `basename "$configFile"` ssh ${para[@]} `basename "$configFile"`
fi fi