Quantcast
Channel: Azure Virtual Machines forum
Viewing all articles
Browse latest Browse all 12545

Unable to login to Virtual Machine. Error: "server refused our key"

$
0
0

Hi, 

I am facing an unusual behavior with my VM. 

VM Size: Standard B1ms (1 vcpus, 2 GB memory)

1 out of 4 VM, I am unable to login after performing a series of operations. 

Error while login: "server refused our key". 

The ssh public key is working for other 4 VMs. 

The steps I performed are following: 

$ sudo yum-config-manager --enable rhui-REGION-rhel-server-extras
$ sudo yum install -y ansible

$ sudo yum install python-netaddr -y

$ssh-keygen -f ~/.ssh/id_rsa -t rsa -N ''

$ cat ~/.ssh/id_rsa.pub | ssh -i <pem file> aapf@ManagementNode 'cat >> .ssh/authorized_keys'
$ wget -O azcopy.tar.gz https://aka.ms/downloadazcopylinuxrhel6
$ tar -xf azcopy.tar.gz
$ sudo ./install.sh

$ azcopy \
    --source https://pf.blob.core.windows.net/pf-image/v1.2b \
    --destination PF \
    --source-key <key> \
    --recursive

Note: I downloaded file of size approx 2.5 GB





Viewing all articles
Browse latest Browse all 12545

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>