Koozali.org: home of the SME Server

Legacy Forums => General Discussion (Legacy) => Topic started by: Gaz on May 27, 2003, 12:45:22 PM

Title: ssh public key and the admin user
Post by: Gaz on May 27, 2003, 12:45:22 PM
Hi All,

Well I finally got around to setting up my root account so that I could ssh into it with a public key + password  so that I can overcome my fear that someone is logging my keystrokes.

Now I would like to achieve the same for my admin account, I copied the .ssh dir from my /root account and chown'd the files to admin/admin but it wont work.

Is there anything special I have to do to be able to use a public key with the admin account?

Thanks,
Gaz
Title: Re: ssh public key and the admin user
Post by: Andy Parkinson on May 27, 2003, 07:36:11 PM
just log in  as root and then su admin
Title: Re: ssh public key and the admin user
Post by: Gaz on May 28, 2003, 04:30:11 AM
> just log in  as root and then su admin

Doh!  

I didn't know you could do that!

I was typing 'login admin', and it would lock up my shell window.

Thanks, this helps me a lot.