Home > top 8 most popular mirror screen protector for nokia e7 ideas and get free shipping
|
Etapas rápidas para solucionar problemasQuick troubleshooting steps
- Redefinir a configuração de SSH.Reset the SSH configuration.
- Redefinir as credenciais do usuário.Reset the credentials for the user.
- Verifique se as regras do grupo de segurança de rede permitem o tráfego SSH.Verify the network security group rules permit SSH traffic.
- Certifique-se de que exista uma regra de Grupo de Segurança de Rede para permitir o tráfego de SSH (por padrão, a porta TCP 22).Ensure that a Network Security Group rule exists to permit SSH traffic (by default, TCP port 22).
- Você não pode usar o mapeamento/redirecionamento de porta sem usar um Azure Load Balancer.You cannot use port redirection / mapping without using an Azure load balancer.
- Verifique a Integridade do Recurso de VM.Check the VM resource health.
- Certifique-se de que a VM é relatada como íntegra.Ensure that the VM reports as being healthy.
- Se o diagnóstico de inicialização estiver habilitado, verifique se a VM não está relatando erros de inicialização nos logs.If you have boot diagnostics enabled, verify the VM is not reporting boot errors in the logs.
- Reinicie a VM.Restart the VM.
- Reimplante a VM.Redeploy the VM.
Métodos disponíveis para solucionar problemas de conexão SSHAvailable methods to troubleshoot SSH connection issues
- Portal do Azure – excelente se você precisar redefinir rapidamente as credenciais de usuário ou configurações de SSH ou chave SSH e não tiver as Ferramentas do Azure instaladas.Azure portal - great if you need to quickly reset the SSH configuration or SSH key and you don't have the Azure tools installed.
- Console serial da VM do Azure -o console serial da VM funcionará independentemente da configuração do SSH e fornecerá a você um console interativo para sua VM.Azure VM Serial Console - the VM serial console will work regardless of the SSH configuration, and will provide you with an interactive console to your VM.Na verdade, as situações 'não é SSH' são especificamente o que o console serial foi projetado para ajudar a solucioná-lo.In fact, 'can't SSH' situations are specifically what the serial console was designed to help solve.Mais detalhes abaixo.More details below.
- CLI do Azure - se você já estiver na linha de comando, redefina rapidamente a configuração ou as credenciais do SSH.Azure CLI - if you are already on the command line, quickly reset the SSH configuration or credentials.Se você estiver trabalhando com uma VM clássica, poderá usar a CLI clássica do Azure.If you are working with a classic VM, you can use the Azure classic CLI.
- Extensão VMAccessForLinux do Azure – criar e reutilizar os arquivos de definição json para redefinir as credenciais de usuário ou configuração do SSH.Azure VMAccessForLinux extension - create and reuse json definition files to reset the SSH configuration or user credentials.
Use o Portal do AzureUse the Azure portal
Redefinir a configuração de SSHReset the SSH configuration
Reset configuration only
, na seção Modo, conforme mostrado na captura de tela anterior e, em seguida, selecione Atualizar.To reset the SSH configuration, select Reset configuration only
in the Mode section as in the preceding screenshot, then select Update.Quando essa ação for concluída, tente acessar sua VM novamente.Once this action has completed, try to access your VM again.Redefinir credenciais de SSH de um usuárioReset SSH credentials for a user
Reset SSH public key
ou Reset password
, na seção Modo, conforme mostrado na captura de tela anterior.To reset the credentials of an existing user, select either Reset SSH public key
or Reset password
in the Mode section as in the preceding screenshot.Especifique o nome de usuário e uma chave SSH ou a nova senha, depois, selecione Atualizar.Specify the username and an SSH key or new password, then select Update.Verificar as regras de segurançaCheck security rules
Verificar o roteamentoCheck routing
Usar o console serial da VM do AzureUse the Azure VM Serial Console
Verificar se o SSH está em execuçãoCheck that SSH is running
Verificar em qual porta o SSH está sendo executadoCheck which port SSH is running on
Usar a CLI do AzureUse the Azure CLI
Redefinir a configuração de SSHReset SSH configuration
myVM
em myResourceGroup
.The following example uses az vm user reset-ssh to reset the SSH configuration on the VM named myVM
in myResourceGroup
.Use seus próprios valores, da seguinte maneira:Use your own values as follows:Redefinir credenciais SSH para um usuárioReset SSH credentials for a user
myUsername
para o valor especificado em myPassword
, na VM chamada myVM
em myResourceGroup
.The following example uses az vm user update to reset the credentials for myUsername
to the value specified in myPassword
, on the VM named myVM
in myResourceGroup
.Use seus próprios valores, da seguinte maneira:Use your own values as follows:~/.ssh/id_rsa.pub
para o usuário chamado myUsername
, na VM chamada myVM
em myResourceGroup
.The following example uses az vm access set-linux-user to update the SSH key stored in ~/.ssh/id_rsa.pub
for the user named myUsername
, on the VM named myVM
in myResourceGroup
.Use seus próprios valores, da seguinte maneira:Use your own values as follows:Usar a extensão VMAccessUse the VMAccess extension
Redefinir SSHDReset SSHD
settings.json
com o conteúdo a seguir:Create a file named settings.json
with the following content:VMAccessForLinux
para redefinir sua conexão SSHD ao especificar o arquivo json.Using the Azure CLI, you then call the VMAccessForLinux
extension to reset your SSHD connection by specifying your json file.O exemplo a seguir usa az vm extension set para redefinir SSHD na VM denominada myVM
em myResourceGroup
.The following example uses az vm extension set to reset SSHD on the VM named myVM
in myResourceGroup
.Use seus próprios valores, da seguinte maneira:Use your own values as follows:Redefinir credenciais SSH para um usuárioReset SSH credentials for a user
settings.json
.To reset the password for a user, create a file named settings.json
.O exemplo a seguir redefine as credenciais para myUsername
para o valor especificado em myPassword
.The following example resets the credentials for myUsername
to the value specified in myPassword
.Digite as seguintes linhas no seu arquivo de settings.json
, usando seus próprios valores:Enter the following lines into your settings.json
file, using your own values:settings.json
.Or to reset the SSH key for a user, first create a file named settings.json
.O exemplo a seguir redefine as credenciais para myUsername
para o valor especificado em myPassword
, na VM denominada myVM
em myResourceGroup
.The following example resets the credentials for myUsername
to the value specified in myPassword
, on the VM named myVM
in myResourceGroup
.Digite as seguintes linhas no seu arquivo de settings.json
, usando seus próprios valores:Enter the following lines into your settings.json
file, using your own values:VMAccessForLinux
para redefinir suas credenciais de usuário SSH, especificando seu arquivo json.After creating your json file, use the Azure CLI to call the VMAccessForLinux
extension to reset your SSH user credentials by specifying your json file.O exemplo a seguir redefine as credenciais na VM denominada myVM
em myResourceGroup
.The following example resets credentials on the VM named myVM
in myResourceGroup
.Use seus próprios valores, da seguinte maneira:Use your own values as follows:Usar a CLI do Azure clássicaUse the Azure classic CLI
![Algobox for ninjatrader Algobox for ninjatrader](/uploads/1/2/4/8/124802680/479348221.png)
Redefinir a configuração de SSHReset SSH configuration
myVM
no grupo de recursos chamado myResourceGroup
.The following example resets SSHD on a VM named myVM
in the resource group named myResourceGroup
.Use seus próprios nomes de grupo de recursos e de VM, da seguinte maneira:Use your own VM and resource group names as follows:Redefinir credenciais SSH para um usuárioReset SSH credentials for a user
myUsername
para o valor especificado em myPassword
, na VM denominada myVM
em myResourceGroup
.The following example resets the credentials for myUsername
to the value specified in myPassword
, on the VM named myVM
in myResourceGroup
.Use seus próprios valores, da seguinte maneira:Use your own values as follows:~/.ssh/id_rsa.pub
para o usuário chamado myUsername
, na VM denominada myVM
em myResourceGroup
.The following example updates the SSH key stored in ~/.ssh/id_rsa.pub
for the user named myUsername
, on the VM named myVM
in myResourceGroup
.Use seus próprios valores, da seguinte maneira:Use your own values as follows:Reiniciar uma VMRestart a VM
Portal do AzureAzure portal
CLI do AzureAzure CLI
myVM
no grupo de recursos chamado myResourceGroup
.The following example uses az vm restart to restart the VM named myVM
in the resource group named myResourceGroup
.Use seus próprios valores, da seguinte maneira:Use your own values as follows:CLI clássica do AzureAzure classic CLI
myVM
no grupo de recursos denominado myResourceGroup
.The following example restarts the VM named myVM
in the resource group named myResourceGroup
.Use seus próprios valores, da seguinte maneira:Use your own values as follows:Reimplantar uma VMRedeploy a VM
Portal do AzureAzure portal
CLI do AzureAzure CLI
myVM
no grupo de recursos chamado myResourceGroup
.The following example use az vm redeploy to redeploy the VM named myVM
in the resource group named myResourceGroup
.Use seus próprios valores, da seguinte maneira:Use your own values as follows:CLI clássica do AzureAzure classic CLI
myVM
no grupo de recursos denominado myResourceGroup
.The following example redeploys the VM named myVM
in the resource group named myResourceGroup
.Use seus próprios valores, da seguinte maneira:Use your own values as follows:VMs criadas com o modelo de implantação clássicoVMs created by using the Classic deployment model
- Redefina o acesso remoto no Portal do Azure.Reset remote access from the Azure portal.No portal do Azure, selecione a sua VM e, então, Redefinir Remoto... .On the Azure portal, select your VM and then select Reset Remote....
- Reinicie a VM.Restart the VM.No portal do Azure, selecione a sua VM e, então Reiniciar.On the Azure portal, select your VM and select Restart.
- Reimplante a VM em um novo nó do Azure.Redeploy the VM to a new Azure node.Para obter informações sobre como reimplantar uma VM, veja Reimplantar Máquina Virtual em um novo nó do Azure.For information about how to redeploy a VM, see Redeploy virtual machine to new Azure node.Após a conclusão dessa operação, os dados de disco efêmeros serão perdidos e os endereços IP dinâmicos associados à máquina virtual serão atualizados.After this operation finishes, ephemeral disk data will be lost and dynamic IP addresses that are associated with the virtual machine will be updated.
- Siga as instruções em Como redefinir uma senha ou SSH para máquinas virtuais baseadas em Linux para:Follow the instructions in How to reset a password or SSH for Linux-based virtual machines to:
- Redefinir a senha ou a chave SSH.Reset the password or SSH key.
- Criar uma nova conta de usuário sudo.Create a sudo user account.
- Redefinir a configuração de SSH.Reset the SSH configuration.
- Verifique se há problemas de plataforma na integridade do recurso da VM.Check the VM's resource health for any platform issues.
Selecione sua VM e role para baixo para Configurações > Verificar Integridade.Select your VM and scroll down Settings > Check Health.
Recursos adicionaisAdditional resources
- Se ainda não puder se conectar com SSH à VM após seguir essas etapas, veja etapas de solução de problemas mais detalhadas para examinar etapas adicionais para resolver o problema.If you are still unable to SSH to your VM after following the after steps, see more detailed troubleshooting steps to review additional steps to resolve your issue.
- Para obter mais informações sobre como solucionar problemas de acesso do aplicativo, consulte Solucionar problemas de acesso a um aplicativo executado em uma máquina virtual do AzureFor more information about troubleshooting application access, see Troubleshoot access to an application running on an Azure virtual machine
- Para obter mais informações sobre como solucionar problemas de máquinas virtuais que foram criadas usando o modelo de implantação clássico, consulte Como redefinir uma senha ou SSH para máquinas virtuais baseadas em Linux.For more information about troubleshooting virtual machines that were created by using the classic deployment model, see How to reset a password or SSH for Linux-based virtual machines.