Fedora Linux Support Community & Resources Center
  #1  
Old 23rd June 2009, 05:16 PM
guan yu Offline
Registered User
 
Join Date: Dec 2008
Posts: 10
SSH without password for FC11

Hi Guys,

Last time I used to follow the http://www.hostingrails.com/wiki/27/...out-a-password to setup FC10 ssh without password.

For FC11, it seems not working.

root@192.168.1.254's password:
Now try logging into the machine, with "ssh '192.168.1.254'", and check in:

.ssh/authorized_keys

to make sure we haven't added extra keys that you weren't expecting.

remote machine authorized_keys
[root@nonetwork .ssh]# cat authorized_keys
ssh-dss AAAAB3NzaC1kc3MAAACBANmLVXjlitPOZNKd9zoCG0C/L+UFT/PU7Xk7RdSJTOizNMSDSNQFJSi587U1JMWOAGrcaWwpMiC6ZGAt q5KRu1owfHv6i5EfkdLnS0rhyVYWBjf5es2cFRxRaDjVRmfM95 oC63RNW8nqbxSc46Fq/5lv5WIUvdamMMrYLs2rAGC1AAAAFQDGzP3Rg9AIFFFXQBALUCK 7pIJlLQAAAIB0lzTKD7wqzbPHpO75Sgh1xN0npzYCoZxARwi27 i2VqdFl7WLW4sK+KlpUm8uyLWQNkqJ3NjaMiDB5zvcOJzgMNxm 34FIZ3VcDY1a9R09upf5oL/uKfejJtoKe5aFpNDMXuHjsQWrKdgjUbpR8HVhJyNgp6QFfZb37 8WL/BCaLoAAAAIEAz1xK2HSIL8YuQpPfh5wjDZUh4fFdz7PgvF/iAHBvuUPLNCyUrjmWHRr9AVe9ACI5wiSLZM/UYDSYhaOvm+6bT7UPsqnjGlxvVyJVzwIH6RDw1Zw82XTtQtOc7 HtPTGN9IrCIaUbz44fC5/kl/28Y2X768LGlCo/ZKSV8aqt4xGE= root@tbpip02

I had tried to remove remote machine authorized_keys. I am getting the same error msg above per above. Any clue guys?

Thanks...
Reply With Quote
  #2  
Old 23rd June 2009, 06:00 PM
brunson Offline
Registered User
 
Join Date: Jun 2005
Location: Westminster, Colorado
Posts: 2,306
Did you try ssh'ing with -v to get debugging output? May give a better clue.

For what it's worth, I have no problem using public key authentication with F11.
__________________
Registered Linux User #4837
411th in line to get sued by Micro$oft
Quote:
Basically, to learn Unix you learn to understand and apply a small set of key ideas and achieve expertise by expanding both the set of ideas and your ability to apply them - Paul Murphy
Reply With Quote
  #3  
Old 23rd June 2009, 07:01 PM
knesenko Offline
Registered User
 
Join Date: Jul 2008
Location: IL
Age: 28
Posts: 142
On the client machine do:
Quote:
vim ./ssh/authorized_keys
And remove the whole line with '192.168.1.254'.Save the file and try to connect
__________________
My website: http://www.geekacad.com/
Best regards ,
Kiril Nesenko
Reply With Quote
  #4  
Old 24th June 2009, 12:45 AM
guan yu Offline
Registered User
 
Join Date: Dec 2008
Posts: 10
Guys,

Problem solved. I have no idea why after tried for 2 hours. Posted the problem here. Shut down both machines. Went to ZzzZZzZ.

Today wake up..both machine can ssh each other with password !!!!

Anyway, thanks guys
Reply With Quote
Reply

Tags
fc11, password, ssh

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
PIL-1.1.6-9.fc11.i586 conflicts with file from package python-imaging-1.1.6-14.fc11.i toddbailey Using Fedora 0 14th August 2009 06:49 AM
Password for runlevel 1 - FC11 BlownCPU Security and Privacy 3 28th July 2009 09:57 AM
generating password hashes compatible with FC11/sha-512 shadow file jemcdon Security and Privacy 3 3rd July 2009 07:07 PM
FC11: system freezes when running mplayer.i586 0:1.0-0.109.20090329svn.fc11 Sam- Using Fedora 6 1st July 2009 01:42 AM
How stop request for password to password manager whenever logs in to wifi? 6tr6tr Using Fedora 7 27th June 2009 05:46 PM


Current GMT-time: 18:54 (Wednesday, 23-04-2014)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat