LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 03-29-2010, 04:18 PM   #1
Sanford Stein
Member
 
Registered: Jun 2008
Location: Evanston, Illinois
Distribution: RHEL 6.4
Posts: 126

Rep: Reputation: 17
Problems with passwordless SSH


I have all the permissions now set as recommended but the non-root user still cannot ssh or scp without a password: (This is on the target machine, but it's the same on the source machine).

[mbp5vdrzqtui@pear ~]$ ls -ld .ssh
drwx------ 2 mbp5vdrzqtui mbp5vdrzqtui 4096 Mar 29 10:38 .ssh
[mbp5vdrzqtui@pear ~]$ ls -l .ssh
total 16
-rw------- 1 mbp5vdrzqtui mbp5vdrzqtui 427 Mar 29 10:34 authorized_keys
-rw-r--r-- 1 mbp5vdrzqtui mbp5vdrzqtui 1588 Mar 25 17:12 known_hosts

Thanks,
SS
 
Old 03-29-2010, 04:40 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 Sanford Stein View Post
I have all the permissions now set as recommended but the non-root user still cannot ssh or scp without a password: (This is on the target machine, but it's the same on the source machine).

[mbp5vdrzqtui@pear ~]$ ls -ld .ssh
drwx------ 2 mbp5vdrzqtui mbp5vdrzqtui 4096 Mar 29 10:38 .ssh
[mbp5vdrzqtui@pear ~]$ ls -l .ssh
total 16
-rw------- 1 mbp5vdrzqtui mbp5vdrzqtui 427 Mar 29 10:34 authorized_keys
-rw-r--r-- 1 mbp5vdrzqtui mbp5vdrzqtui 1588 Mar 25 17:12 known_hosts

Thanks,
SS

And this relates to
http://www.linuxquestions.org/questi...9/#post3836241
how exactly? Please don't hi-jack others threads ...

Splitting it out.


Cheers,
Tink
 
Old 03-30-2010, 09:15 AM   #3
Sanford Stein
Member
 
Registered: Jun 2008
Location: Evanston, Illinois
Distribution: RHEL 6.4
Posts: 126

Original Poster
Rep: Reputation: 17
Tink,

It sounds like you are saying that I have breached the etiquette of this list, but I am not sure how or why. The existing thread to which you refer concerned ssh for a root user, and my problem was with a non-root user, so I started a new thread:

http://www.linuxquestions.org/questi...t-user-797883/

It seems like you took my last post from this thread and created another new one?
I wish to be a good member of this community, so I would appreciate an explanation of what you perceived to be wrong and what you did to rectify it.

Thanks,
Sanford Stein
 
Old 03-30-2010, 11:55 AM   #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
Happily ...

You actually broke one un-written and one explicit rule (self confessed,
I hadn't even noticed).

The unwritten rule is not to tack inquiries onto other peoples threads
when they're a) not exactly the same issue (yours isn't) and b) when
the thread has been inactive for a while.

The spelt out rule is: do not post more than once. You tacked a dupe
from your original thread onto someone elses.


Cheers,
Tink
 
Old 03-30-2010, 02:02 PM   #5
Sanford Stein
Member
 
Registered: Jun 2008
Location: Evanston, Illinois
Distribution: RHEL 6.4
Posts: 126

Original Poster
Rep: Reputation: 17
Tink,

Thanks for the explanation. My duplicate post to the existing thread was unintentional.

SS
 
  


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
problems with passwordless log in as root with SSH Mountain Linux - Software 1 05-05-2009 01:28 PM
Passwordless ssh isn't dcroxton Linux - Software 8 07-18-2008 12:16 PM
Can't use passwordless ssh sunhui Linux - Security 1 10-03-2006 08:29 PM
Passwordless SSH with SSH commercial server and open ssh cereal83 Linux - General 7 04-18-2006 12:34 PM
Regarding Passwordless SSH nedian123 Linux - Software 1 08-05-2004 05:07 PM


All times are GMT -5. The time now is 04:41 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