Re: SSH hostkeys

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




On Wed, 24 Sep 2003, Vincent wrote:

> On Wed, 24 Sep 2003 07:57:44 -0500 (EST)
> Mike Burger <mburger@xxxxxxxxxxxxxxxxx> wrote:
> 
> > On Wed, 24 Sep 2003, Vincent wrote:
> > 
> > > I am trying to log into SSH without supplying password, only using the keys
> > > in ~/.ssh/ for verification. I'm able to login but not without passwd.
> > > 
> > > The SSHd config is RH 9's default.
> > > 
> > > rm -rf ~/.ssh
> > > first I ran:
> > > 
> > > ssh-keygen -q -t rsa -f ~/.ssh/id_rsa -C '' -N ''
> > > # the -N '' is the same thing as hitting enter twice when asked for passwd.
> > > 
> > > then I cat ~/.ssh/id_rsa.pub >> ~/.ssh/authorized_keys
> > > 
> > > lets try logging in:
> > > ~~~~~~~~~~~~~~~~~~
> > > [guest5@Turtle guest5]$ ssh guest5@xxxxxxxxx
> > > The authenticity of host '127.0.0.1 (127.0.0.1)' can't be established.
> > > RSA key fingerprint is 4a:ee:2d:49:db:4c:de:25:8b:76:9c:24:62:bb:a4:46.
> > > Are you sure you want to continue connecting (yes/no)? yes
> > > Warning: Permanently added '127.0.0.1' (RSA) to the list of known hosts.
> > > guest5@xxxxxxxxx's password:
> > > 
> > > And that it, it keeps asking. What am I doing wrong?
> > 
> > Have you copied the contents of "id_rsa.pub" into your 
> > ~/.ssh/authorized_keys file, yet?
> > -- 
> > Mike Burger
> > http://www.bubbanfriends.org
> 
> Yes, that was in the E-mail:
> 
> > > then I cat ~/.ssh/id_rsa.pub >> ~/.ssh/authorized_keys

Sorry...missed that.  What are the permissions on .ssh/authorized_keys?

I think I had to set mine 700, or sshd wouldn't bother with it, for 
security concerns.
-- 
Mike Burger
http://www.bubbanfriends.org

Visit the Dog Pound II BBS
telnet://dogpound2.citadel.org or http://dogpound2.citadel.org:2000

To be notified of updates to the web site, visit 
http://www.bubbanfriends.org/mailman/listinfo/site-update, or send a 
message to:

site-update-request@xxxxxxxxxxxxxxxxx

with a message of: 

subscribe


-- 
Shrike-list mailing list
Shrike-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/shrike-list

[Index of Archives]     [Fedora Users]     [Centos Users]     [Kernel Development]     [Red Hat Install]     [Red Hat Watch]     [Red Hat Development]     [Red Hat Phoebe Beta]     [Yosemite Forum]     [Fedora Discussion]     [Gimp]     [Stuff]     [Yosemite News]

  Powered by Linux