LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 06-04-2006, 11:01 PM   #1
judgex
LQ Newbie
 
Registered: Jan 2006
Location: Australia
Distribution: Fedora Core 4 and Cygwin
Posts: 14

Rep: Reputation: 0
Want to SSH into my own machine without password.


I appended my public key to the keys file:

jasonh@localhost:~> cat .ssh/id_rsa.pub | ssh root@localhost 'cat >> .ssh/authorized_keys'
root@localhost's password: (Entered)

But I still can't login as root without password:

jasonh@localhost:~> ssh root@localhost
root@localhost's password: (Entered)

What have I done wrong? BTW: I am using Fedora Core 4 Linux, OpenSSH_4.0p1, OpenSSL 0.9.7f 22 Mar 2005.

Last edited by judgex; 06-04-2006 at 11:21 PM.
 
Old 06-04-2006, 11:54 PM   #2
scoban
Member
 
Registered: Nov 2004
Location: Turkey
Distribution: Slackware
Posts: 145

Rep: Reputation: 16
chmod 600 authorized_keys
chmod 700 .ssh
 
  


Reply



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
modified password does not function the machine after to restart stomach Linux - General 2 03-03-2006 09:49 PM
ssh connection from a Windows machine to a Linux machine pistachio Linux - Networking 1 08-30-2005 10:45 AM
how to open a dilog on local machine when i do ssh to remote machine fahad26 Programming 3 05-03-2005 07:39 PM
samba cannot fetch machine password [GOD]Anck Linux - Networking 3 03-01-2005 09:43 AM
Grep user id + password from WINDOWS NT machine wesleywest Linux - Software 1 01-27-2005 10:47 AM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 12:15 AM.

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
Open Source Consulting | Domain Registration