[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [cobalt-users] SSH Help pls
- Subject: Re: [cobalt-users] SSH Help pls
- From: Craig St George <craig@xxxxxxxxxxxxx>
- Date: Mon Mar 12 20:49:10 2001
- List-id: Mailing list for users to share thoughts on Cobalt products. <cobalt-users.list.cobalt.com>
And I've got my MacSSH up and running and it works.
Can anyone advise please how, I install my 'keys' on the Raq4i
otherwise it seems to me that anyone with a SSH Client can use it as a
telnet client - which means .. so what ..
Hi if you want to install keys then you make your public and private key set
Then you need to install the key on the server for the user that you want
key access
Its the public one you need to install
For SSH2
go to the users home and either make a directory called .ssh or there
should be one there
You can then put the identity file there
eg identity.pub
then you can run this
ssh-keygen -X -f ~/.ssh/identity.pub >> authorized_keys2
Then test
and finally to turn off passwords edit the
/etc/ssh/sshd_config file
You probably want to change this
#Protocol 2,1
to
Protocol 2
and also
PasswordAuthentication yes
to
PasswordAuthentication no
Now only ssh2 and keys will work
Oh you also have to restart the sshd
/etc/rc.d/init.d/sshd stop
/etc/rc.d/init.d/sshd start