Hello and thanks for reading,
Basically, I'm taking over for someone on some system admin duties, learning as I go, but one problem I've run into is not having my public RSA key put onto a particular server--one that already has RSA-only access enabled.
So, basically, I can't SSH remotely into the server, but I do have physical access to the server in question and can log in directly, with superuser powers and everything. I need to get my own public key into the directory of authorized_keys on the server, or perhaps instead generate a new key from the command line and somehow send the new private key to my laptop.
I've tried copying my public key that is on other servers connected to this one already that I can remotely SSH into, but due to the RSA key restrictions, scp doesn't seem to want to be able to connect (permission denied: publickey).
Any ideas on how best to go about this? Not sure if something like loading the public key file to the server via USB is an option, either. Like I said, kind've a noob at Ubuntu.
Thanks much in advance.
Update: Firstly, thank you all for your contribution. I've got the file onto the server now, used a USB and figured out how to mount it to the server physically and copy the file over. Now the problem is when I try to cat the public key file into the .ssh/authorized_keys file, nothing happens--it reads out the SSH key, but the authorized_keys file remains blank.
The permissions should all be set properly according to tutorials--chmod 600, 700, 755, all that, but maybe I did it wrong. No error messages pop up.