Skip to content

Latest commit

 

History

History
21 lines (19 loc) · 488 Bytes

README.md

File metadata and controls

21 lines (19 loc) · 488 Bytes

ssh-socks-action

Use Socks5 proxy to connect to ssh remote servers with authentication support!

Example usage

- name: socks ssh action
  uses: Ayouuuu/ssh-socks-action
  with:
    proxy_username: ${{ secrets.USER_NAME }}
    proxy_server: ${{ secrets.SERVER }}
    proxy_port: ${{ secrets.PORT }}
    proxy_socks5_pwd: ${{ secrets.SOCKS5_PWD }}
    host: 114.112.113.221
    port: 32200
    username: 'root'
    key: ${{ secrets.KEY }}
    run: |
      ls
      whoami