Intel® Makers
Intel® Edison, Intel® Joule™, Intel® Curie™, Intel® Galileo
Announcements
Welcome - This is a Peer-to-Peer Forum only. Intel has discontinued these products but you may find support from other customers on this Forum
9872 Discussions

How to log in Edison in user 'root' automatically?

YLu12
Novice
1,371 Views

When the intel edison is plugged in, the PuTTY shows some starting information and 'edison login: ' .Then we need to input 'root' and password to log in.

Can we log in Edison in user 'root' automatically upon edison is plugged in? Thank you.

1 Solution
RElli7
New Contributor I
205 Views

There are 2 ways:

Remove the root password so you don't use one.

  • SSH will be disabled over wireless so only wired connections will be allowed.
  • This leaves you Edison extremely vulnerable to attack by unauthorized users

Use a terminal program which stores the user ID and password for login

  • Works with wired and wireless connections
  • Reduces the risk of unauthorized logins. It can happen only from machines where you have installed the capability
  • I use RealTerm, but other terminal programs also do it

View solution in original post

4 Replies
RElli7
New Contributor I
206 Views

There are 2 ways:

Remove the root password so you don't use one.

  • SSH will be disabled over wireless so only wired connections will be allowed.
  • This leaves you Edison extremely vulnerable to attack by unauthorized users

Use a terminal program which stores the user ID and password for login

  • Works with wired and wireless connections
  • Reduces the risk of unauthorized logins. It can happen only from machines where you have installed the capability
  • I use RealTerm, but other terminal programs also do it
YLu12
Novice
205 Views
VIvan7
New Contributor III
205 Views

The correct and secure way is to connect using a private/public SSH key pair.

You create these keys on your computer. Then you store the private key on your computer and install it in Putty or another ssh client. You copy the public key to your Edison in /root/.ssh/authorized_keys.

Putty supports this method too. https://www.digitalocean.com/community/tutorials/how-to-create-ssh-keys-with-putty-to-connect-to-a-v... https://www.digitalocean.com/community/tutorials/how-to-create-ssh-keys-with-putty-to-connect-to-a-v...

But don't enter a passphrase.

YLu12
Novice
205 Views
Reply