Configuring SSH authentication using a key