JB MORLA wrote:
Hi,
I have installed sshd on Debian and PuTTY on XP.
PuTTY only connects via SSH when the line: telnetd.... is in
inetd.conf not commented.
Are you sure putty is connecting via SSH? I have sometimes seen putty
come up with telnet as the default protocol. Make sure you click to use
SSH rather than telnet in putty before you try connecting. Watch the
logs on the linux side to see what your client is actually doing.
/var/log/auth is the place to look, or /var/log/messages if your system
is not to busy. Use "less -S /var/log/messages". Hit "F" to get a
running display as the file updates. Make sure you read the help at the
bottom of the screen.
There is something else I don't understand
Suppose I generate a key on one pc using keygen, how do I copy it to
the other machine?
So far I understand that both pc must have the same private key in
order to
encrypt/decrypt data traveling over ethernet?
Read "man ssh-keygen" on the linux side. At the end, in the end of the
"Files" section it tells you what to do. Just add the public key from
the windows-box to the authorized_keys file. Paste it in. Create the
file if it does not exist. You can find an "scp" file-transfer program
for your windows box the same place you found putty.
Please help if you can
John B.
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]