If you don't want to enter login credentials, you will need to setup certificate based authentication. Google is your friend for this one, there are a lot of guides out there on how to do it.
Sorry, I guess I didn't express my needs precisely enough: When I connect via SSH I don't mind to enter my credentials (I actually want it). My problem is that the SSH server does not start until I entered my credentials. So it's the local
login which I would like to get rid of. Or does your answer apply to this and I simply got it wrong?
In regards to the IP Address, can you paste the contents of your /etc/network/interfaces file ?
you can either define the IP address you want in there, or set that up to bring up the interface automatically. When the interface goes up, the dhcp client should run and get an IP address.
Of course I can, sorry that I initially missed this due to my lack of profound Linux knowledge:
Code: Select all
# Used by ifup(8) and ifdown(8). See the interfaces(5) manpage or
# /usr/share/doc/ifupdown/examples for more information.
iface lo inet loopback
iface eth0 inet dhcp
I have to confess that I connected my Raspberry Pi directly to my PC using a crossover cable and I have no DHCP server running
. Maybe it would have worked if I directly connected it to my router (which does allocate IP addresses
for each device)? Due to my first issue I was never able to do a test, because I don't have any hardware to enter my login credentials next to my router.
So solving one of these problems will probably also make the other one a lot easier to eliminate.
Thank you so much for your help, SirLagz!