Removal of ~/.ssh/id_rsa from Ubuntu build environment

ssh
keys
ruby

#1

Hello! Has the CircleCI build environment changed with respect to SSH keys? I’m seeing missing ~/.ssh/id_rsa all of a sudden in some of my Ruby builds:

Errno::ENOENT: No such file or directory @ rb_sysopen - /home/ubuntu/.ssh/id_rsa

This file did used to exist, but I can’t find any documentation or mention of the change. Thank you!


#2

I was not aware that the private ssh key should exist by default, I assumed you would always have to create it.

That being said, while I’m not sure what you were using it for, it looks like it was likely renamed id_circleci_github to help prevent confusion.

I believe best practice would be for your app to generate fresh private keys though.


#3