![]() ![]() Loaded an entirely new image to start from scratch and retied the above.Tried Resetting the root password using > sudo su passwd or sudo su passwd.Logging in as the pi user with raspberry password.Logging in as The User and password setup in the Preferences > Raspberry Pi configuration on the Pi > "MyPi" with the password i set.My Pi is connected via wifi to my router, and my pc is also wirelessly connected to the router I got 2 screens, 1 for my main pc trying to ssh into the pie and 1 screen for the pi, both keyboard and mouses are plugged into both pcs so can individually control them. Im using the latest version of Raspbian loaded on the pi. When i connect to the Host using x ip address on Putty i get the terminal to input my User, Lets call it "MyPi" and when prompted to enter the password i get an access Denied issue. You can now use the key for logins from scripts and command line with: ssh -i privatekey.pem userhostname. It should only be readable by the user that owns it. Right click on the Putty.exe program and click Create Shortcut Right click on the shortcut you created and click Properties In the Target field, you should see your path to Putty. Make sure permissions on the private key file are set properly. Here is a simple shortcut that will automatically log you into your Raspberry Pi. So i Setup my Raspberry and Tried to SSH into the Pi. puttygen privatekey.ppk -O private-openssh -o privatekey.pem.
0 Comments
Leave a Reply. |