[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: [debian-knoppix] How to ssh to Knoppix?



>From Larry Alkoff on Thursday, 2005-05-12 at 11:39:44 -0500:
> I am trying to ssh into Knoppix from another Linux computer.
> 
> 
> When I issue from the remote machine Linda:
>     ssh -l knoppix Knoppix
> the error message appears:
>     ssh: connect to host Knoppix port 22: Connection refused
> 
> The firewalls are disabled on both while testing.
> Even if the firewalls were running they allow both both source and 
> destination TCP packets on port 22.
> 
> On the remote machine Linda I have setup ssh with
> ssh -keygen -t rsa to get a passphrase
> and copied my authorized_keys file to Knoppix ~/.ssh/authorized_keys.
> 
> What dumb thing am I doing wrong?

Excuse me for asking a stupid question in response,
but do you have the ssh daemon running?

If you type

netstat -tpan

into a root shell on the Knoppix machine,
you will see if ssh is running.  If the output
does not mention sshd, you need to start it
by typing

/etc/init.d/ssh start

(also in a root shell) on the Knoppix machine.
Or from an xterm or konsole:

sudo /etc/init.d/ssh start

By default, Knoppix does not run any services that would
allow you to connect to it -- this is a security feature.

Conrad


Reply to: