Author Topic: [solved] How get sshfs to not ask for password?  (Read 972 times)

Offline Uggla

  • Full Member
  • ***
  • Posts: 206
[solved] How get sshfs to not ask for password?
« on: November 09, 2010, 01:46:16 PM »
Hi!

I've setup a public dsa key and when I use sshfs from another distro I don't have to type a password. Why is sshfs on PCLOS asking for password and how can I get rid of it?

regards
Uggla
« Last Edit: November 10, 2010, 02:49:38 AM by Uggla »

Offline muungwana

  • Hero Member
  • *****
  • Posts: 6254
Re: How get sshfs to not ask for password?
« Reply #1 on: November 09, 2010, 04:26:39 PM »
i have never used sshfs but i know ssh first attempt to authenticate a connection using public/private key authentication and then using password when the first one fail.

Does it still ask you for a password when you just connect to the server? with something like this from the client "ssh remote_user@server_address"

ssh asking for a password usually means your private/public key setup is not working correctly somewhere. Check again and make sure the user on client computer who wants to make a connection does so with a correct private key and the corresponding public key is on the correct account on the server's authorized key file

« Last Edit: November 09, 2010, 04:29:48 PM by muungwana »
.. 3 things are certain in life : death, taxes and software bloat ..
.. tell me something i don't know, something i can use as i struggle to reason with the world around me ..

Offline Uggla

  • Full Member
  • ***
  • Posts: 206
Re: How get sshfs to not ask for password?
« Reply #2 on: November 10, 2010, 02:49:14 AM »
I found it! The files in ~/.ssh had wrong permissions, chmod 700 fixed it.

/Uggla