error while ssh into ipv6 server.
My server only connects over ipv6, and while using this action gives me error »
2022/01/09 14:49:09 dial tcp: address tcp/4f8: unknown port
Request you to add support for ipv6 servers also. 👀
(This is duplicate issue of #97, I don't know why the author closed it. 🤷♂️)
++++1
same
same here
I will take it.
I will take it.
thanks a lot. I will test it once completed. Your Github action seems to be the only one supporting multiple commands, multiple servers etc., which makes usage very convenient.
I've tried a few other Github actions like https://github.com/marketplace/actions/remote-ssh-commands and its origin https://github.com/marketplace/actions/run-ssh-command but they didn't work either on IPv6. Maybe https://github.com/marketplace/actions/ssh-deploy works (according to https://github.com/easingthemes/ssh-deploy/issues/125)
but for now I just need to rent another IPv4...
edit: of course you can just connect to IPv6 via SSH directly without plugins like
- name: Deploy to server
run: |
# 4d50:0d56:f70a:ed69:9cb0:e66f:ad75:0cd2 is the target ipv6 address (here just a dummy)
sshpass -p ${{ secrets.REMOTE_PASSWORD }} ssh ${{ secrets.REMOTE_USER }}@4d50:0d56:f70a:ed69:9cb0:e66f:ad75:0cd2 "hostname; cd /xx && git fetch"
# "hostname; cd /xx && git fetch" are just dummy commands
# instead of passing a cleartext password via sshpass of course you should do public key authentication instead
I will take it.
Any news here? :(
@appleboy Please add it, your tool is the best one imo
Waiting for it since public IPv4 on AWS now charges over $40 every year..
bump, we need this too!
reference the issue on GitHub Action Runner: https://github.com/actions/runner-images/issues/668
Hi All,
Please help to try the following instructions:
testing06:
name: testing ipv6
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/checkout@v1
- name: Set up WARP
uses: fscarmen/[email protected]
with:
stack: dual
- name: testing ipv6 for command
run: |
curl -m 9 --ipv6 --verbose https://google.com
- name: testing ipv6
uses: appleboy/ssh-action@master
with:
host: 2402:1f00:8000:800::2628
username: ubuntu
password: ${{ secrets.OVH_PASSWORD }}
protocol: tcp6
port: 22
command_timeout: 30s
script: |
whoami
Please make sure you add the new attribute protocol: tcp6.
Hi All,
Please help to try the following instructions:
testing06: name: testing ipv6 runs-on: ubuntu-latest steps: - name: checkout uses: actions/checkout@v1 - name: Set up WARP uses: fscarmen/[email protected] with: stack: dual - name: testing ipv6 for command run: | curl -m 9 --ipv6 --verbose https://google.com - name: testing ipv6 uses: appleboy/ssh-action@master with: host: 2402:1f00:8000:800::2628 username: ubuntu password: ${{ secrets.OVH_PASSWORD }} protocol: tcp6 port: 22 command_timeout: 30s script: | whoamiPlease make sure you add the new attribute
protocol: tcp6.
I have tried it, and it works perfectly for IPv6 servers. Thanks!
Hi All,
Please help to try the following instructions:
testing06: name: testing ipv6 runs-on: ubuntu-latest steps: - name: checkout uses: actions/checkout@v1 - name: Set up WARP uses: fscarmen/[email protected] with: stack: dual - name: testing ipv6 for command run: | curl -m 9 --ipv6 --verbose https://google.com - name: testing ipv6 uses: appleboy/ssh-action@master with: host: 2402:1f00:8000:800::2628 username: ubuntu password: ${{ secrets.OVH_PASSWORD }} protocol: tcp6 port: 22 command_timeout: 30s script: | whoamiPlease make sure you add the new attribute
protocol: tcp6.
Can also confirm this works great - thanks so much!
Is there any chance of getting this same IPv6 support in your other package scp-action ?
Currently I receive an error:
drone-scp error: error copy file to dest: 2a05, error message: dial tcp: address tcp/d018: unknown port
and presume it's also due to lack of IPv6 support. Thank you