Jump to content
Math

ssh without password

Recommended Posts

Hello everyone

I want to connect via ssh to my wifi pineapple nano without a password and i'v been following this tutorial but i get an error. Can someone help me by letting me know if it's possible. And if it's possible, can someone help me with the command line and where should i put my public key in the sd of the pineapple.

Thanks for your help

cmd error.png

Share this post


Link to post
Share on other sites

write the public key you want to allow (key the box with), to `/root/.ssh/authorized_keys`

then ssh in with `ssh -i /path/to/matching/private/key root@172.16.42.1`

Share this post


Link to post
Share on other sites

Hello

 

i puted my public key at the root of my pineapple sd card in a folder that i named ''autorized_keypath at the path:  '.ssh/autorized_keypath/'  

i tryed then the command line:    ssh -i C:\Users\tribo\.ssh\id-rsa root@172.16.42.1                                       (id-rsa is my private key)

but it keep asking for my password 😕  what did i did wrong ?

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...