jpeters

Group: Members
Posts: 804
Joined: April 2006 |
 |
Posted: Sep. 27 2007,05:37 |
 |
Quote (bigjohn @ Sep. 26 2007,15:07) | Are you saying I should copy *key* from /etc/ssh to /home? Or to /home/dsl? |
Copy keys to your home directory, /home/dsl, which gets saved automatically. ($HOME can be substituted for /home/dsl when writing commands in xterm) I created a folder named /home/dsl/ssh_keys where I put them.
Quote | Then copy back on startup to /etc/ssh before starting ssh in bootlocal.sh? |
yes, if that's where your keys are stored (I'm using ssh, which writes the keys to /etc/ssh. So my entry in bootlocal.sh is "cp /home/dsl/ssh_keys/*key* /etc/ssh/" *key* copies any filename with the word "key" in it. You can then place "/etc/init.d/ssh start" in bootlocal.sh, and it will not recopy the keys.
Quote | And, in plain English, what is the difference between ssh and sshd? |
sshd is the daemon program for ssh. If you load ssh and type "top" in the terminal, you'll see the process running as "sshd" (What actually loads is /usr/sbin/sshd).
|