LM14-XFCE SSH into Slackware 14 using Public Keys

Forum rules
Before you post please read this

LM14-XFCE SSH into Slackware 14 using Public Keys

Postby lkraemer on Mon Jan 14, 2013 6:44 pm

I've installed LM14-XFCE Desktop (32Bit), and I've set up ssh to use Public keys to access another Distro on my LAN. I've got it working now,
but I had a problem that LM14 wouldn't create the /home/user/.ssh/known_hosts file so the data could be saved. I created an empty
known_hosts file, and did a chown larry:larry to allow ssh to write to the file.

Here is what my known_hosts file looks like after the ssh_config file was modified for a hashed known_hosts file using:
Code: Select all
    HashKnownHosts yes

as the last line in /etc/ssh/ssh_config

Code: Select all
-rw-r--r--  1 larry larry  222 Jan 14 13:36 known_hosts


It took me a bit to find that the known_hosts file wasn't being created by LM14. LM14 should be able to create the file and also modify it.
Maybe this will help some else trying to use ssh with Public keys.

Thanks.

Larry
lkraemer
Level 2
Level 2
 
Posts: 52
Joined: Tue Apr 24, 2012 9:05 pm

Linux Mint is funded by ads and donations.
 

Return to XFCE

Who is online

Users browsing this forum: No registered users and 5 guests