recently, at the request of the customer, the localPHPsite Migration toAzure, the Web site is deployed inHyper-Vvirtual machine, the system isUbuntu 14.04, website backstage useMysqldatabase, website in local access everything OK, I useazcopytool that took a long time to move the virtual machine'sVHDit's uploaded.Azure, use thisVHDbuild the virtual machine, boot, boot everything OK, accesshttp://***.chinacloudapp.cnthe domain name of the virtual machine, the website can be visited normally, accomplished.
But a problem is that the virtual machine SSH cannot access, use the original virtual machine account password can not log in, prompt user name or password error, virtual machine A The port was also mapped out, very strange, and later looked for the reason, which turned out to be Azure the Linux system compatibility issues, the workaround is as follows:
< Span style= "margin:0px;" > 1, login azure Span style= "font-family: ' equal line ';" The new portal,
2. Find This virtual machine, choose Reset Password, password reset,ssh can log in.
650) this.width=650; "title=" 1.png "style=" Float:none; "src=" http://s1.51cto.com/wyfs02/M02/8C/1A/ Wkiol1hipc6a0zhbaaelqsc5ncc258.png-wh_500x0-wm_3-wmp_4-s_3830207610.png "alt=" Wkiol1hipc6a0zhbaaelqsc5ncc258.png-wh_50 "/>
650) this.width=650; "title=" 2.png "style=" Float:none; "src=" Http://s3.51cto.com/wyfs02/M02/8C/1E/wKiom1hiPdDzujt_ Aaeuxak3u_i732.png-wh_500x0-wm_3-wmp_4-s_1293213855.png "alt=" Wkiom1hipddzujt_aaeuxak3u_i732.png-wh_50 "/>
This article is from "Zhikun Li's biog" blog, make sure to keep this source http://lzk0431.blog.51cto.com/1388423/1886634
SSH cannot access Linux after migrating azure