You are not logged in.

#1 2008-03-01 17:30:38

Bangel
Member
Registered: 2007-05-17
Posts: 45

SSH Out of the Box Install Trouble

Hi

I've got a SSH problem. Out of the box, I cannot login. It gives me an ssh_identification error. My best guess is that it has something to do with keys. I ran a -vv on the ssh client and he was spitting out -1 on all the keys in my homedir. And there were none of course. Is there a way to regenerate the whole ssh keys for protocol 2 in the /etc/ssh/ and also to create from scratch keys in my home directory?

Offline

#2 2008-03-01 17:55:43

Rumor
Member
From: Albany, NY
Registered: 2006-07-07
Posts: 638

Re: SSH Out of the Box Install Trouble

If you are running sshd as a daemon, you have to add this line to your /etc/hosts.allow file

sshd: ALL

then do an /etc/rc.d/sshd restart and see if you can log in.


Smarter than a speeding bullet
My Goodreads profile

Offline

#3 2008-03-01 18:20:22

Bangel
Member
Registered: 2007-05-17
Posts: 45

Re: SSH Out of the Box Install Trouble

This time it does not mention in the debug mode of ssh any key files, however it refuses the connection. Stoped and Restarted the server and it gave me the following error:

Could not load host key: /etc/ssh/ssh_host_dsa_key

So I guess it might still be a ssh key problem.

Offline

#4 2008-03-02 03:55:09

Pudge
Arch Linux f@h Team Member
Registered: 2006-01-23
Posts: 300

Re: SSH Out of the Box Install Trouble

Read through This Tutorial, maybe something there will help you out.

Pudge

Offline

Board footer

Powered by FluxBB