How do I create a shell script that will exit the ssh session after executing the remote commands

Subscribers:
4,120
Published on ● Video Link: https://www.youtube.com/watch?v=tXX6XI29rsw



Duration: 2:28
1 views
0


How do I create a shell script that will exit the ssh session after executing the remote commands
I hope you found a solution that worked for you :)
The Content (except music & images) is licensed under (https://meta.stackexchange.com/help/licensing)CC BY-SA
Thanks to all those great people for their contributions!

(superuser.com/users/703276/pbuchheit)pbuchheit
(superuser.com/users/1686/u1686-grawity)u1686_grawity
A special thanks goes out to the (https://superuser.com/questions/1803297/how-do-i-create-a-shell-script-that-will-exit-the-ssh-session-after-executing-th)Stackexchange community

I wish you all a wonderful day! Stay safe :)

macos bash ssh unix







Tags:
macos
bash
ssh
unix