Puredyne/SSH into your Puredyne system< Puredyne
Many linux systems automatically run an SSH service so that it's possible to log in to your computer remotely, using an SSH client on some other computer.
In Puredyne this is disabled by default (because the live CD has a fixed username and password, so it would be insecure to allow just anyone to log in) - but it's easy to enable it, if you'd like:
To enable the SSH serviceEdit
The SSH daemon is prevented from running by the existence of a simple file, located at:
When the daemon launches, if that file exists then it simply gives up. So we need to do two things:
- Remove that file (or you could rename it)
- Start the SSH daemon
sudo rm /etc/ssh/sshd_not_to_be_run sudo /etc/init.d/ssh start
To log in using SSHEdit
You need to know the address of your computer (e.g. the raw IP address). If you don't know it, run this command on the machine you're going to want to log into:
and look in the output for the IP address (it'll be labelled "inet" and listed under the relevant network point, e.g. 'en0' for the first wired ethernet connection).
So, from some remote machine, you can use a graphical client or a simple command-line, assuming the ssh client is installed. Here's how to log in if the user is 'live' and the IP address is '127.0.0.1':
On a 9.11-carrot_and_coriander-DVD (booted from a USB stick), the correct username and password is "lintian" and "live".
To disable the SSH serviceEdit
Do the opposite of what we did above:
- Create that specially-named file (the file contents can be anything, or nothing)
- Stop the SSH daemon
sudo touch /etc/ssh/sshd_not_to_be_run sudo /etc/init.d/ssh stop