??????????????????μ??????????????????????????????????????????????????????????????????????Щ?????????????????????????????????????????e?????????????11??47?????????????????????????????????????????ɡ???????????"??????????????????????"???????????????????????????e?????????????????????????????php???????????????Щ??????????????????????ж???????????????????????????????????????????????ip?ε????????????ip???????????????????????????ip??дsql???????navicat???????????????????????excel??
?????o?????????д?????????????????????
???????????????????????????????????????????????????????key???ssh??????????????????????????????
??????????ssh???key??????????????????...
????????????ssh????????????ssh??????????
????usage: ssh [-1246AaCfgKkMNnqsTtVvXxYy] [-b bind_address] [-c cipher_spec]
????[-D [bind_address:]port] [-E log_file] [-e escape_char]
????[-F configfile] [-I pkcs11] [-i identity_file]
????[-L [bind_address:]port:host:hostport] [-l login_name] [-m mac_spec]
????[-O ctl_cmd] [-o option] [-p port]
????[-Q cipher | cipher-auth | mac | kex | key]
????[-R [bind_address:]port:host:hostport] [-S ctl_path] [-W host:port]
????[-w local_tun[:remote_tun]] [user@]hostname [command]
???????????????????????????????????180.97.33.108???????ssh????998??ssh??????xzc?????????????????????????????ls??????????????д??
????ssh xzc@180.97.33.108 -p 998 "ls"
???????ssh?????key?????ú????????????????μ?????г????????????ε???????????????????????????????????????????????????????ls??????????????????
????echo "select * from user;" | mysql xzc_db -uxzc -pxzcpwd
????#????
????mysql xzc_db -uxzc -pxzcpwd -e "select * from user"
?????????????????????????????xzc??????xzcpwd???????xzc_db?????user???????????????????????localhost????????????????????????????
???????OK???????OK????????????????????????????bash?????? > ????????????????????????
????ssh xzc@180.97.33.108 -p 998 'echo "select * from user;" | mysql xzc_db -uxzc -pxzcpwd' > user.txt
??????????user????????????user.txt????????"> user.txt"?????? ''??????????????????У?????????????????????????????????????????txt?????????????????eɡ??????excel?ɡ?????????????????N?????????????mysql?????????????????????????excel?????????navicat????????????????excel???????notepad++??????????????????????????????????????б????????????????txt??tab???????excel???????ó???????????user.txt????user.xls???????????????????????excel???????????????????????????????????????????????????????Щ??????????????????