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
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