mirror of
https://github.com/Azure/MachineLearningNotebooks.git
synced 2025-12-29 10:00:32 -05:00
Update 04.train-on-remote-vm.ipynb
This commit is contained in:
@@ -155,10 +155,10 @@
|
|||||||
"# if you want to connect using SSH key instead of username/password you can provide parameters private_key_file and private_key_passphrase \n",
|
"# if you want to connect using SSH key instead of username/password you can provide parameters private_key_file and private_key_passphrase \n",
|
||||||
"attached_dsvm_compute = RemoteCompute.attach(workspace=ws,\n",
|
"attached_dsvm_compute = RemoteCompute.attach(workspace=ws,\n",
|
||||||
" name=\"attached_vm\",\n",
|
" name=\"attached_vm\",\n",
|
||||||
" username='<usename>',\n",
|
" username='<ssh-usename>',\n",
|
||||||
" address='<ip_adress>',\n",
|
" address='<ip_adress>',\n",
|
||||||
" ssh_port=5022,\n",
|
" ssh_port=5022,\n",
|
||||||
" password='<ip_address>')\n",
|
" password='<password>')\n",
|
||||||
"attached_dsvm_compute.wait_for_completion(show_output=True)"
|
"attached_dsvm_compute.wait_for_completion(show_output=True)"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user