Skip to content

Instantly share code, notes, and snippets.

@riaf
Created July 26, 2016 07:47
Show Gist options
  • Save riaf/b084835c1b4f3cc9814a25abe2317d73 to your computer and use it in GitHub Desktop.
Save riaf/b084835c1b4f3cc9814a25abe2317d73 to your computer and use it in GitHub Desktop.
Coreserver に SSH 接続する
curl -XPOST \
-d "id=$USERID" \
-d "pass=$FTPPASS" \
-d "remote_host=$(curl http://dyn.value-domain.com/cgi-bin/dyn.fcg?ip)" \
-d "ssh2=on" \
https://ss1.coressl.jp/www.$CS_SERVER.coreserver.jp/jp/admin.cgi \
| iconv -f SJIS -t UTF8
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment