Koozali.org: home of the SME Server

ssh public key and the admin user

Gaz

ssh public key and the admin user
« 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

Andy Parkinson

Re: ssh public key and the admin user
« Reply #1 on: May 27, 2003, 07:36:11 PM »
just log in  as root and then su admin

Gaz

Re: ssh public key and the admin user
« Reply #2 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.