How to run SSH commands in Github Actions without using third-party actions?

Viewed 12

Is there any way to write ssh commands in GitHub actions without third-party actions? I have tried the following commands but it does not run the ssh commands to completion:

 run: |
      ssh $USER@$SERVER
      sh -c 'pwd'
0 Answers
Related