Re: sending authorized_keys to localhost from an account being created with adduser --disabled-password [was] Re: Need a tutorial

2016-09-24 Thread tomas
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Fri, Sep 23, 2016 at 04:41:00PM +, Stephan Beck wrote: > Thank you very much, Tomás. glad to help. [...] > But once my user's (in your terminology, steph's) public key is in the > test account's authorized_keys file, user steph can login

Re: sending authorized_keys to localhost from an account being created with adduser --disabled-password [was] Re: Need a tutorial

2016-09-23 Thread Stephan Beck
Hi Greg and Tomás (one mail for all to limit the load of this thread on the list) :-) Greg Wooledge: > On Fri, Sep 23, 2016 at 12:31:00PM +, Stephan Beck wrote: [...] > As user root: > > stephan@hostname:~$ sudo mkdir -p ~test/.ssh > stephan@hostname:~$ sudo sh -c 'cat

Re: sending authorized_keys to localhost from an account being created with adduser --disabled-password [was] Re: Need a tutorial

2016-09-23 Thread Stephan Beck
Thank you very much, Tomás. to...@tuxteam.de: > On Fri, Sep 23, 2016 at 12:31:00PM +, Stephan Beck wrote: >> Hi >> to...@tuxteam.de: >>> On Thu, Sep 22, 2016 at 03:35:00PM +, Stephan Beck wrote: [...] >> I have created a new user account with >> adduser --disabled-password >> What do I

Re: sending authorized_keys to localhost from an account being created with adduser --disabled-password [was] Re: Need a tutorial

2016-09-23 Thread Stephan Beck
Stephan Beck: > Thanks, Greg. I trimmed your message just to let you know that it does > not work. To be clear: after having found my solution I did your test (only the test reproduced at the end of your message) and my solution does not work. Thanks Stephan

Re: sending authorized_keys to localhost from an account being created with adduser --disabled-password [was] Re: Need a tutorial

2016-09-23 Thread Stephan Beck
Thanks, Greg. I trimmed your message just to let you know that it does not work. Greg Wooledge: > On Fri, Sep 23, 2016 at 12:31:00PM +, Stephan Beck wrote: > As user stephan, to test that it works: > > stephan@hostname:~$ ssh test@localhost id > > If your username isn't actually "stephan",

Re: RESOLVED Re: sending authorized_keys to localhost from an account being created with adduser --disabled-password [was] Re: Need a tutorial

2016-09-23 Thread Stephan Beck
Hi, Stephan Beck: > Hi > > Stephan Beck: >> Hi >> >> to...@tuxteam.de: >>> On Thu, Sep 22, 2016 at 03:35:00PM +, Stephan Beck wrote: >>> >>> > >> How do I get this public key onto localhost? > > No need to reply, I'll send the answer to document my solution within > minutes. Solution

Re: sending authorized_keys to localhost from an account being created with adduser --disabled-password [was] Re: Need a tutorial

2016-09-23 Thread tomas
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Fri, Sep 23, 2016 at 12:31:00PM +, Stephan Beck wrote: > Hi > > to...@tuxteam.de: > > On Thu, Sep 22, 2016 at 03:35:00PM +, Stephan Beck wrote: > > > > > >> to...@tuxteam.de: > > > > [mumble] > > > >>> This is the bird's view. Ask if

RESOLVED Re: sending authorized_keys to localhost from an account being created with adduser --disabled-password [was] Re: Need a tutorial

2016-09-23 Thread Stephan Beck
Hi Stephan Beck: > Hi > > to...@tuxteam.de: >> On Thu, Sep 22, 2016 at 03:35:00PM +, Stephan Beck wrote: >> >> > How do I get this public key onto localhost? No need to reply, I'll send the answer to document my solution within minutes. Stephan

Re: sending authorized_keys to localhost from an account being created with adduser --disabled-password [was] Re: Need a tutorial

2016-09-23 Thread Greg Wooledge
On Fri, Sep 23, 2016 at 12:31:00PM +, Stephan Beck wrote: > I have created a new user account with > adduser --disabled-password > What do I want to do? > I'd like to login to this account "test" from my normal user account by > ssh via pubkey authentication. My (normal) user account has its

sending authorized_keys to localhost from an account being created with adduser --disabled-password [was] Re: Need a tutorial

2016-09-23 Thread Stephan Beck
Hi to...@tuxteam.de: > On Thu, Sep 22, 2016 at 03:35:00PM +, Stephan Beck wrote: > > >> to...@tuxteam.de: > > [mumble] > >>> This is the bird's view. Ask if you get stuck. > > >> Sorry, Tomas, it's not Gene, it's me who has a special question > > No need to be sorry :-) Fine! :-) > >