Read the statement by Michael Teeuw here.
Modifying the Config File
-
@jimb on the pi desktop, menu top left
preferences, pi preferences.
interfaces, check ssh on. ok,
change host name, just look at it, should be raspberrypithen save/exit, reboot
on your PC do
ssh pi@raspberrypi
if the userid you created on the pi is pi.
use the password you set when you booted the first time
now you have a terminal on the pi from your PC, and you can copy/paste in both directions…
-
Sam, I remember the name I gave to the Pi, but unfortunately not the password. Is there a way to find it?
-
@jimb np, but you should be able to change it from the preferences without knowing it
-
Sam, I know the name assigned to the rasberry. I now know the password as I have changed it. SSH is not resolving the hostname. So, what is the proper way to populate the following-
ssh {what goes here}@{what goes here}
Example: ssh {{hostname} @ {password} ???
-
-
Sam, the username seems to be OK, but the hostame doesn’t resolve. Even though it shows in preference. Am I missing something
-
@jimb try adding .local after the hostname
or use the IP address of the pi.
-
Sam, beating head against rock… local host didn’t work. I was able to resolve an IP address, but it appeared to be a v6 that would.t work with ssh. I don’t know the next step.
-
Sam, since I’m not making any progress on the weather module I’m going to remark all the lines out for now and move on to other modules.
-
@jimb ok the address was probably raspberrypi.local
you need to disable ipv6 on the pi, in the network settings of the pi config under the desktop menu
no reason to have ipv6 in a home environment