<html><head></head><body><p dir="ltr">Yes sir, root is able to login securely with no problem</p>
<br><br><div class="gmail_quote">On May 10, 2015 10:54:56 PM EDT, Chris Embree <cembree@ez-as.net> wrote:<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<pre class="k9mail">Kinda figured you did. Beyond permissions,
ownership and PuTTY keys.<br />Is sshd.conf set to allow keys?<br /><br
/>Oh look, the last straw was grasped.<br /><br />On 5/10/15, Steve
VanSlyck <s.vanslyck@postpro.net> wrote:<br /><blockquote
class="gmail_quote" style="margin: 0pt 0pt 1ex 0.8ex; border-left: 1px
solid #729fcf; padding-left: 1ex;"> Yes that is a good point, & I
am aware of the differences between the putty<br /> public key and the
way it needs to be on the server.<br /><br /> On May 10, 2015 10:43:38
PM EDT, Chris Embree <cembree@ez-as.net> wrote:<br /><blockquote
class="gmail_quote" style="margin: 0pt 0pt 1ex 0.8ex; border-left: 1px
solid #ad7fa8; padding-left: 1ex;">It's been a while, but I think PuTTY
uses different keys than<br />ssh-keygen style. You probably have to
run them thru PuTTY's keytool<br />thing.<br /><br /><br />On 5/10/15,
Steve VanSlyck <s.vanslyck@postpro.net> wrote:<br /><blockquote
class="gmail_quote"
style="margin: 0pt 0pt 1ex 0.8ex; border-left: 1px solid #8ae234;
padding-left: 1ex;"> I create the keys in putty.<br /><br /> On May 10,
2015 10:34:39 PM EDT, Zach Villers <zachvatwork@gmail.com><br />
wrote:<br /><blockquote class="gmail_quote" style="margin: 0pt 0pt 1ex
0.8ex; border-left: 1px solid #fcaf3e; padding-left: 1ex;">On the
remote box, I would su - new user, ssh-keygen -t dsa (or rsa),<br
/>ssh<br />copy-id me@myhomebox. I think you are using root's key
instead of the<br />new<br />users' key?<br /><br />On Sun, May 10,
2015 at 10:26 PM, Steve VanSlyck<br /><s.vanslyck@postpro.net><br
/>wrote:<br /><br /><blockquote class="gmail_quote" style="margin: 0pt
0pt 1ex 0.8ex; border-left: 1px solid #e9b96e; padding-left: 1ex;"> My
new user (me) can't log on via SSH. Can someone look this over<br
/></blockquote>and<br /><blockquote class="gmail_quote" style="margin:
0pt 0pt 1ex 0.8ex; border-left: 1px solid #e9b96e; padding-left: 1ex;">
tell me what super basic
thing I've done wrong?<br /><br /> What I did:<br /><br /> *As root*:<br /><br /> Add user "name"<br /> /usr/sbin/adduser name<br /> Create password<br /> passwd name<br /> [created the password]<br /> Give root permissions<br /> sudo nano /etc/sudoers<br /> [added the line name ALL=(All) ALL<br /> Re-enabled password authentication in sshd_config and restarted<br /></blockquote></blockquote></blockquote>sshd<br /><blockquote class="gmail_quote" style="margin: 0pt 0pt 1ex 0.8ex; border-left: 1px solid #8ae234; padding-left: 1ex;"><blockquote class="gmail_quote" style="margin: 0pt 0pt 1ex 0.8ex; border-left: 1px solid #fcaf3e; padding-left: 1ex;"><blockquote class="gmail_quote" style="margin: 0pt 0pt 1ex 0.8ex; border-left: 1px solid #e9b96e; padding-left: 1ex;"><br /> *As the new user "name"*:<br /><br /> made directory<br /> mkdir ./ssh<br /> created file and added public key to file authorized keys<br /> sudo nano
~/.ssh/authorized_keys<br /> [entered the public key (which I call a "lock")]<br /> updated permissions "just in case"<br /> chmod 700 ~/.ssh<br /> chmod 600 ~/.ssh/authorized_keys<br /><br /> tried to login with the private key<br /> Result: server refused the key.<br /><br /> Any idea what I'm doing wrong?<br /><br /><hr /><br /> colug-432 mailing list<br /> colug-432@colug.net<br /> <a href="http://lists.colug.net/mailman/listinfo/colug-432">http://lists.colug.net/mailman/listinfo/colug-432</a></blockquote><br /><br /><br /><br /><hr /><br /><br /><hr /><br />colug-432 mailing list<br />colug-432@colug.net<br /><a href="http://lists.colug.net/mailman/listinfo/colug-432">http://lists.colug.net/mailman/listinfo/colug-432</a><br /></blockquote><br /></blockquote><hr /><br />colug-432 mailing list<br />colug-432@colug.net<br /><a href="http://lists.colug.net/mailman/listinfo/colug-432">http://lists.colug.net/mailman/listinfo/colug-432</a><br
/></blockquote><br /></blockquote><hr /><br />colug-432 mailing list<br />colug-432@colug.net<br /><a href="http://lists.colug.net/mailman/listinfo/colug-432">http://lists.colug.net/mailman/listinfo/colug-432</a><br /></pre></blockquote></div></body></html>