PDA

View Full Version : ssh connection refused?



albo
10-26-2006, 08:23 PM
Hi Folks,

I've been trying to walk some friends through getting sshd running on their machine which runs off a knoppix cd at the moment. We've had some problems. Currently, my connection is being refused when i try to log into ssh from a remote machine. These are the commands I run after booting:


cd /etc/ssh

ssh-keygen -t rsa1 -f ssh_host_key -C '' -N ''
chmod 600 ssh_host_key
chmod 600 ssh_host_key
chmod 644 ssh_host_key.pub

ssh-keygen -t rsa -f ssh_host_rsa_key -C '' -N ''
chmod 600 ssh_host_rsa_key
chmod 644 ssh_host_rsa_key.pub
ssh-keygen -t dsa -f ssh_host_dsa_key -C '' -N ''
chmod 600 ssh_host_dsa_key
chmod 644 ssh_host_dsa_key.pub

/etc/init.d/ssh restart


Anyone have any ideas? Thanks very much in advance!

Best,
Allie

patelbhavesh
10-27-2006, 04:37 AM
Is connecting to this machine via knoppix over ssh working fine.
You will have to first create a password for knoppix before connecting via ssh.