Skip to content
terminal

GitHub Action

ssh-socks-action

v1.0 Latest version

ssh-socks-action

terminal

ssh-socks-action

Setup ssh socks5 proxy that use proxy-connect

Installation

Copy and paste the following snippet into your .yml file.

              

- name: ssh-socks-action

uses: Ayouuuu/[email protected]

Learn more about this action in Ayouuuu/ssh-socks-action

Choose a version

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