LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 08-17-2006, 08:34 AM   #1
sunhui
Member
 
Registered: Jan 2006
Location: taiwan
Posts: 156

Rep: Reputation: 30
secure shell


I want to use ssh from host A to host B with null password ,

I have already generate the public key id_rsa.pub on host A and copy it to host B and rename it to authorized_keys , but when run "ssh host B" , it still ask the password , can advise how to login with null password ? thx

orcdpss@hostB's password
 
Old 08-17-2006, 09:12 AM   #2
Oxagast
Member
 
Registered: Aug 2003
Location: Mocksville, NC, USA
Distribution: Gentoo, Slackware.
Posts: 410

Rep: Reputation: 30
Why on earth would you want to run SSH and no password in the first place? Anybody could log onto your machine dude, thats a no-no.
 
Old 08-17-2006, 09:18 AM   #3
sunhui
Member
 
Registered: Jan 2006
Location: taiwan
Posts: 156

Original Poster
Rep: Reputation: 30
Quote:
Originally Posted by sunhui
I want to use ssh from host A to host B with null password ,

I have already generate the public key id_rsa.pub on host A and copy it to host B and rename it to authorized_keys , but when run "ssh host B" , it still ask the password , can advise how to login with null password ? thx

orcdpss@hostB's password
I followed the below link to setup it , but still ask password when ssh , I also found the when use scp , it also ask for password, can advise what can I do ? thx

http://www.freebsdwiki.net/index.php...authentication
 
Old 08-17-2006, 09:50 AM   #4
timmeke
Senior Member
 
Registered: Nov 2005
Location: Belgium
Distribution: Red Hat, Fedora
Posts: 1,515

Rep: Reputation: 61
The instructions should work. Did you remember NOT to enter a passphrase when creating the keys?
But, as also suggested on the site, you should only use this for very limited accounts, as it is a serious security hazard.

By the way, why do you need to have a password-less login anyway?
 
  


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
LXer: Secure Shell standard moving forward LXer Syndicated Linux News 0 01-29-2006 01:01 AM
remoste shell and secure shell suchi_s Programming 2 12-21-2004 06:31 AM
which port does secure shell run on? naijaguy Linux - Newbie 1 08-12-2004 10:43 PM
Secure Shell & Cell Phone SR712 Linux - General 5 05-12-2004 10:38 AM
secure shell zepplin611 Linux - Software 5 03-03-2004 09:46 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

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