Strict Standards: Declaration of action_plugin_blog::register() should be compatible with DokuWiki_Action_Plugin::register($controller) in /var/www/vhosts/w629.ws.domainking.cloud/enjoy-lei.com/dokuwiki/lib/plugins/blog/action.php on line 13

Strict Standards: Declaration of action_plugin_indexmenu::register() should be compatible with DokuWiki_Action_Plugin::register($controller) in /var/www/vhosts/w629.ws.domainking.cloud/enjoy-lei.com/dokuwiki/lib/plugins/indexmenu/action.php on line 13

Strict Standards: Declaration of action_plugin_importoldchangelog::register() should be compatible with DokuWiki_Action_Plugin::register($controller) in /var/www/vhosts/w629.ws.domainking.cloud/enjoy-lei.com/dokuwiki/lib/plugins/importoldchangelog/action.php on line 8

Strict Standards: Declaration of action_plugin_importoldindex::register() should be compatible with DokuWiki_Action_Plugin::register($controller) in /var/www/vhosts/w629.ws.domainking.cloud/enjoy-lei.com/dokuwiki/lib/plugins/importoldindex/action.php on line 8

Strict Standards: Declaration of action_plugin_include::register() should be compatible with DokuWiki_Action_Plugin::register($controller) in /var/www/vhosts/w629.ws.domainking.cloud/enjoy-lei.com/dokuwiki/lib/plugins/include/action.php on line 19

Deprecated: Assigning the return value of new by reference is deprecated in /var/www/vhosts/w629.ws.domainking.cloud/enjoy-lei.com/dokuwiki/inc/parserutils.php on line 208

Deprecated: Assigning the return value of new by reference is deprecated in /var/www/vhosts/w629.ws.domainking.cloud/enjoy-lei.com/dokuwiki/inc/parserutils.php on line 211

Deprecated: Assigning the return value of new by reference is deprecated in /var/www/vhosts/w629.ws.domainking.cloud/enjoy-lei.com/dokuwiki/inc/parserutils.php on line 421

Deprecated: Assigning the return value of new by reference is deprecated in /var/www/vhosts/w629.ws.domainking.cloud/enjoy-lei.com/dokuwiki/inc/parserutils.php on line 594

Strict Standards: Declaration of cache_instructions::retrieveCache() should be compatible with cache::retrieveCache($clean = true) in /var/www/vhosts/w629.ws.domainking.cloud/enjoy-lei.com/dokuwiki/inc/cache.php on line 291

Deprecated: Function split() is deprecated in /var/www/vhosts/w629.ws.domainking.cloud/enjoy-lei.com/dokuwiki/inc/auth.php on line 154

Strict Standards: Only variables should be passed by reference in /var/www/vhosts/w629.ws.domainking.cloud/enjoy-lei.com/dokuwiki/doku.php on line 73
fgmオートログイン [開発チーム]
Writing /var/www/vhosts/w629.ws.domainking.cloud/enjoy-lei.com/dokuwiki/data/cache/e/e7b4c6641a784b506f5c420e57015218.i failed
Unable to save cache file. Hint: disk full; file permissions; safe_mode setting.
Writing /var/www/vhosts/w629.ws.domainking.cloud/enjoy-lei.com/dokuwiki/data/cache/e/e7b4c6641a784b506f5c420e57015218.i failed
Unable to save cache file. Hint: disk full; file permissions; safe_mode setting.
Writing /var/www/vhosts/w629.ws.domainking.cloud/enjoy-lei.com/dokuwiki/data/cache/e/e7b4c6641a784b506f5c420e57015218.xhtml failed

「getpassword 」と「privatekeyfile 」のファイルの場所だけ置き換えれば、動くと思います

fgm

hostname = 'fgm.fideli.com'
getpassword 'C:\ejiri\teraterm\passwd.dat' 'fgm_username' username
getpassword 'C:\ejiri\teraterm\passwd.dat' 'fgm_password' password
privatekeyfile = 'C:\ejiri\teraterm\mp_id_rsa'

; connection & login
msg = hostname
strconcat msg ':22 /ssh /2 /auth=publickey /user='
strconcat msg username
strconcat msg ' /keyfile='
strconcat msg privatekeyfile
strconcat msg ' /passwd='
strconcat msg password
connect msg

fgm_web1

; setting
hostname = 'fgm.fideli.com'
hostname_web = 'fgm_web1'
getpassword 'C:\ejiri\teraterm\passwd.dat' 'fgm_username' username
getpassword 'C:\ejiri\teraterm\passwd.dat' 'fgm_password' password
privatekeyfile = 'C:\ejiri\teraterm\mp_id_rsa'

; connect & login
msg = hostname
strconcat msg ':22 /ssh /2 /auth=publickey /user='
strconcat msg username
strconcat msg ' /keyfile='
strconcat msg privatekeyfile
strconcat msg ' /passwd='
strconcat msg password
connect msg

; command
wait '~$'
msg = 'ssh '
strconcat msg hostname_web
sendln msg
wait ':'
sendln password

fgm_web2

; setting
hostname = 'fgm.fideli.com'
hostname_web = 'fgm_web2'
getpassword 'C:\ejiri\teraterm\passwd.dat' 'fgm_username' username
getpassword 'C:\ejiri\teraterm\passwd.dat' 'fgm_password' password
privatekeyfile = 'C:\ejiri\teraterm\mp_id_rsa'

; connect & login
msg = hostname
strconcat msg ':22 /ssh /2 /auth=publickey /user='
strconcat msg username
strconcat msg ' /keyfile='
strconcat msg privatekeyfile
strconcat msg ' /passwd='
strconcat msg password
connect msg

; command
wait '~$'
msg = 'ssh '
strconcat msg hostname_web
sendln msg
wait ':'
sendln password

fgm_mysql1

; setting
hostname = 'fgm.fideli.com'
hostname_web = 'fgm_web1'
hostname_db = 'fgm_mysql1'
getpassword 'C:\ejiri\teraterm\passwd.dat' 'fgm_username' username
getpassword 'C:\ejiri\teraterm\passwd.dat' 'fgm_password' password
getpassword 'C:\ejiri\teraterm\passwd.dat' 'fgm_db_password' db_password
privatekeyfile = 'C:\ejiri\teraterm\mp_id_rsa'

; connect & login
msg = hostname
strconcat msg ':22 /ssh /2 /auth=publickey /user='
strconcat msg username
strconcat msg ' /keyfile='
strconcat msg privatekeyfile
strconcat msg ' /passwd='
strconcat msg password
connect msg

; command ssh
wait '~$'
msg = 'ssh '
strconcat msg hostname_web
sendln msg
wait ':'
sendln password

; command mysql
wait '~$'
msg = 'mysql -h '
strconcat msg hostname_db
strconcat msg ' -p'
sendln msg
wait ':'
sendln db_password
wait 'mysql>'
sendln 'show databases;'

fgm_mysql2

; setting
hostname = 'fgm.fideli.com'
hostname_web = 'fgm_web1'
hostname_db = 'fgm_mysql2'
getpassword 'C:\ejiri\teraterm\passwd.dat' 'fgm_username' username
getpassword 'C:\ejiri\teraterm\passwd.dat' 'fgm_password' password
getpassword 'C:\ejiri\teraterm\passwd.dat' 'fgm_db_password' db_password
privatekeyfile = 'C:\ejiri\teraterm\mp_id_rsa'

; connect & login
msg = hostname
strconcat msg ':22 /ssh /2 /auth=publickey /user='
strconcat msg username
strconcat msg ' /keyfile='
strconcat msg privatekeyfile
strconcat msg ' /passwd='
strconcat msg password
connect msg

; command ssh
wait '~$'
msg = 'ssh '
strconcat msg hostname_web
sendln msg
wait ':'
sendln password

; command mysql
wait '~$'
msg = 'mysql -h '
strconcat msg hostname_db
strconcat msg ' -p'
sendln msg
wait ':'
sendln db_password
wait 'mysql>'
sendln 'show databases;'
fgmオートログイン.txt · 最終更新: 2010/07/27 15:47 (外部編集)
www.chimeric.de Creative Commons License Valid CSS Driven by DokuWiki do yourself a favour and use a real browser - get firefox!! Recent changes RSS feed Valid XHTML 1.0

Strict Standards: Only variables should be passed by reference in /var/www/vhosts/w629.ws.domainking.cloud/enjoy-lei.com/dokuwiki/doku.php on line 81