HelloWorld123123
Posts: 10
Joined: Sun Jun 26, 2016 1:43 pm

Login Over Network Automatically

Sun Jul 07, 2019 8:31 am

Hi,

Is it possible to auto log into a Raspberry Pi somehow when it's turned on? I want passwords to exist, but I don't want to type them each time. Preferably over the network without needing to attach a keyboard or mouse or anything.

jahboater
Posts: 4597
Joined: Wed Feb 04, 2015 6:38 pm

Re: Login Over Network Automatically

Sun Jul 07, 2019 8:49 am

Do you mean over ssh?
You can easily enable password-less ssh and scp for the Pi.
On your PC:-

ssh-keygen -t rsa
ssh-copy-id [email protected]

Then:

scp myfile.txt [email protected]:

or:

ssh [email protected]

work with no prompting, no password, and more security.

mattmiller
Posts: 2098
Joined: Thu Feb 05, 2015 11:25 pm

Re: Login Over Network Automatically

Sun Jul 07, 2019 9:54 am

If you use VNC to view a Pi over the network - you only need to type in username/password once and it will remember and auto login all subsequent times

Return to “Beginners”