Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

Run ssh and immediately execute command

ssh -t 'command; bash -l'
ssh -t user@domain.com 'cd /some/path; bash -l'
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #Run #ssh #immediately #execute #command
ADD COMMENT
Topic
Name
9+8 =