LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 07-01-2011, 06:55 PM   #1
jv2112
Member
 
Registered: Jan 2009
Location: New England
Distribution: Arch Linux
Posts: 719

Rep: Reputation: 103Reputation: 103
Angry ssh auto login dead after sshfs install .... Help :-)


A few months back I followed the link below to set up autologin so I could have a script back up a machine to my main desktop. Today I installed sshfs in order to experiment and I found after I did I lost auto login.


Process I used to set up -->
http://www.linuxproblem.org/art_9.html


In order to correct I :
  • Uninstalled sshfs
  • ran through the process steps again
  • No Dice ..
  • reinstalled ssh client & server.
  • Still no dice...

I have serached around & I cant find anybody else with the same issue.

Any direction would be appreciated.
 
Old 07-01-2011, 07:45 PM   #2
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910
Quote:
Originally Posted by jv2112 View Post
A few months back I followed the link below to set up autologin so I could have a script back up a machine to my main desktop. Today I installed sshfs in order to experiment and I found after I did I lost auto login.


Process I used to set up -->
http://www.linuxproblem.org/art_9.html


In order to correct I :
  • Uninstalled sshfs
  • ran through the process steps again
  • No Dice ..
  • reinstalled ssh client & server.
  • Still no dice...

I have serached around & I cant find anybody else with the same issue.

Any direction would be appreciated.

Your walk-through doesn't touch on file-system permissions (at all).

For passwordless authentication to work four criteria need
to be matched:
a) ~/.ssh *must* be 0700.
b) ~ must *not* be world or group writable.
c) ~/.ssh/authorized_keys on the target machine needs to be 0600
d) ~/.ssh/id_{dsa,rsa} must be 0600



Cheers,
Tink
 
Old 07-01-2011, 08:03 PM   #3
jv2112
Member
 
Registered: Jan 2009
Location: New England
Distribution: Arch Linux
Posts: 719

Original Poster
Rep: Reputation: 103Reputation: 103
Awesome !!!!!

The home directories were out of line. Must have inadvertently changed recently. Thanks for the insight !!!!
 
Old 07-01-2011, 08:18 PM   #4
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910
Most welcome. Glad it helped.



Cheers,
Tink
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Auto SSH-login expect script creatorrr Linux - Software 7 10-26-2011 03:09 AM
How to write a script with auto login ssh and then run commands? keber314 Linux - Server 13 02-16-2009 03:37 PM
ssh auto login script zerocool22 Linux - Server 4 05-13-2008 09:43 PM
How can I auto login to ssh server? sailershen Linux - General 1 04-17-2006 01:04 AM
ssh or telent auto login prashant_1012 Programming 1 11-22-2005 01:12 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:58 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration