Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I have SSH access to my university account using SSH without password. That's working so well that I even forgot that password altogether.

Now I have a new computer and would like to access my university account from there. But I can't without the password! Can I transfer the password-less authentication from my old computer to the new?

Of course, I could also ask the university sysadmins to create a new password for me, but they are known to be very slow, so it might take a few days before I can access.

share|improve this question
    
This doesn't actually answer your question (Chris S has done that), but if one of the problems is that you don't remember the password: Can you login with your existing key-authenticated machine and change your password after successful login? –  Alex Jan 30 '11 at 2:20
    
@Alex: I don't think it lets me do that. kpasswd at least asks for the current password first. –  user9474 Jan 30 '11 at 5:51
    
Either I've been in management too long, or am too used to doing things as root :). You are absolutely right, users have to enter their current password. –  Alex Jan 31 '11 at 1:27

1 Answer 1

This is not a site for end users, it is for System Administrators (et al) only.

That said, your "passwordless SSH" is actually an SSH Key Pair. The keys are just files on your computer; usually named id_rsa or id_dsa. If you are using PuTTY to connect, it's a file ending in ppk (PuTTY will have the path to the key file in it's configuration, look there).

Copy the file to the new computer and configure your software to use the key file. How exactly you configure your new computer will depend on the software you're using.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.