Scaleway cloud server SSH key login problem

I have been playing around with Scaleway bare metal cloud servers and experienced problems with logging into my newly created server. My local PC is Ubuntu 16.04 and I added SSH key to Scaleway, but when connected with the following command

ssh -i my_key.pub root@123.123.123.123

I got the following error:

sign_and_send_pubkey: signing failed: agent refused operation

and couldn’t login. Then, I found out that I have to execute the following command on my local workstation to successfully login into scaleway box:

ssh-add

Please note that if you add your scaleway SSH key in their control panel after you have created your first server – you will have to restart your first scaleaway server for keys to work.

I hope this helps you a bit ;)


Leave a Reply