From: <tb...@ti...> - 2001-11-02 21:20:39
|
I suppose you are booting from floppy and have got your network up OK. Then loaded the opensshd and openssh packages. Did you create a host key? Did you generate a public/private key and install the public key in /root/.ssh/authorized_keys and/or authorized_keys2? What Application are you using to try to connect? (openssh? putty?) Is it set to use the same version of ssh as the key you have installed? SSH can be tricky to get set-up. File permissions matter to SSH. Make sure that your authorized_keys file is not world and group writable, and owned by root. All of the folders in the path leading up to the keys file need to be NOT writable by group and other, I believe. You can fire up ssh in debug mode, and watch some messages that might give some insight into what is going wrong.. sshd -v -v -v or something like that. Since there is no password file in trinux, there can be no password authentication. You must use key pairs. It did work OK for me, but I have setup lots of SSH. I was connecting from another unix machine running openssh. Note also that the init script for ssh, is in a state of flux, and may not be doing what you think it is. Check the script. On Fri, 2 Nov 2001, David Eales wrote: > Please help, > > I have followed the instructions at http://trinux.sourceforge.net/remote-admin.html to the letter but still cant get it to work, when i try to connect it asks for a username and a password even though i havent set a password if I try to skip the username and password then I get a message saying server refused are public key. > > > -- -------------------- Timothy Burt Internet Specialist |