Hi Peter,

> Even though I did this that Victor suggested, it still gave me the
> keygen error, so therefore perhaps I didn't do it right.

Reading ssh_config(5), I suspect it needs to be

    Host 192.168.1.9
    CheckHostIP no
    StrictHostKeyChecking no

> For some reason the pi I tried had the name in the hosts file of
> 'raspberrypi-4' and ssh seemed to connect to the pi then, but would
> not accept the password at all, so this didn't work at all.
>
> Maybe I should try 'ssh -l pi raspberrypi-4.local' ?  - That worked.

ssh(1) will use your user name by default.  You're overriding that with
‘-l pi’ there.  ‘ssh pi@raspberrypi-4.local’ is another syntax.  Or use
your ~/.ssh/config to say

    Host pi4
    Hostname raspberrypi-4.local
    User pi

and then you can just ‘ssh pi4’.  See ssh_config(5).

> I think I will follow what it says in the article and name each pi for
> what the function is.

Bear in mind you're naming the function of the SD card used to boot.

-- 
Cheers, Ralph.

-- 
  Next meeting: BEC, Bournemouth, Tuesday, 2019-10-01 20:00
  Check to whom you are replying
  Meetings, mailing list, IRC, ...  http://dorset.lug.org.uk/
  New thread, don't hijack:  mailto:dorset@mailman.lug.org.uk

Reply via email to