FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > CentOS > CentOS

 
 
LinkBack Thread Tools
 
Old 10-11-2008, 02:25 PM
"Joe Tseng"
 
Default Unable to use SSH password-less logins

I am trying to ssh from my Windows/Cygwin xterm window into my CentOS52
servers w/o using passwords but my keys seem like they're being ignored. I
created the key in cygwin using:


$ ssh-keygen -t dsa -f id_dsa

And copied id_dsa.pub over to centos:~/.ssh/authorized_keys

Ideas?

tia,

- Joe


_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos
 
Old 10-11-2008, 03:07 PM
Ned Slider
 
Default Unable to use SSH password-less logins

Joe Tseng wrote:
I am trying to ssh from my Windows/Cygwin xterm window into my CentOS52
servers w/o using passwords but my keys seem like they're being
ignored. I created the key in cygwin using:


$ ssh-keygen -t dsa -f id_dsa

And copied id_dsa.pub over to centos:~/.ssh/authorized_keys

Ideas?



Check your permissions on ~/.ssh and ~/.ssh/authorized_keys on the
CentOS server, they should be 700 and 600, respectively. See here:


http://wiki.centos.org/HowTos/Network/SecuringSSH#head-9c5717fe7f9bb26332c9d67571200f8c1e4324bc

_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos
 
Old 10-11-2008, 03:25 PM
"Joe Tseng"
 
Default Unable to use SSH password-less logins

That was it!!! Thank you very much!

--------------------------------------------------
From: "Ned Slider" <ned@unixmail.co.uk>
Sent: Saturday, October 11, 2008 11:07 AM
To: "CentOS mailing list" <centos@centos.org>
Subject: Re: [CentOS] Unable to use SSH password-less logins


Joe Tseng wrote:
I am trying to ssh from my Windows/Cygwin xterm window into my CentOS52
servers w/o using passwords but my keys seem like they're being ignored.
I created the key in cygwin using:


$ ssh-keygen -t dsa -f id_dsa

And copied id_dsa.pub over to centos:~/.ssh/authorized_keys

Ideas?



Check your permissions on ~/.ssh and ~/.ssh/authorized_keys on the CentOS
server, they should be 700 and 600, respectively. See here:


http://wiki.centos.org/HowTos/Network/SecuringSSH#head-9c5717fe7f9bb26332c9d67571200f8c1e4324bc

_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos
 
Old 10-11-2008, 03:35 PM
Ned Slider
 
Default Unable to use SSH password-less logins

Joe Tseng wrote:

That was it!!! Thank you very much!



You're welcome Joe.

btw - please remember to bottom post and trim your replies - thanks

_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos
 

Thread Tools




All times are GMT. The time now is 04:32 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org