Re: selinux/ssh -- basic question

2020-03-22 Thread Samuel Sieb
On 3/22/20 2:35 PM, bruce wrote: ok..  so there's a file that has bobs private key  that I copy to the local server  in the .ssh/ dir path.. It's not bob's private key. "bob" has the *public* half of the key. The private key is for the user that's connecting. so anyone who logs into the loc

Re: selinux/ssh -- basic question

2020-03-22 Thread Ed Greshko
On 2020-03-23 07:35, bruce wrote: > > In your example, exactly what is the >   [egreshko@meimei ~]$ ssh-copy-id bob@frk copying?? > > is the cmd copying the  public key for meimei to the bob/.ssh dir/path It is copying/appending the public-key of user "egreshko" to the file bob/.ssh/authorized_ke

Re: selinux/ssh -- basic question

2020-03-22 Thread Kevin Becker
On Mon, 2020-03-23 at 06:50 +0800, Ed Greshko wrote: > On 2020-03-23 04:36, Samuel Sieb wrote: > > On 3/22/20 1:19 PM, bruce wrote: > > >on the remote VM, I want to create a user "bob". I also want > > > to modify the remote to ssh into the VM as bob, using sshkeys > > > do I have to have a loc

Re: selinux/ssh -- basic question

2020-03-22 Thread bruce
On Sun, Mar 22, 2020 at 5:43 PM Ed Greshko wrote: > On 2020-03-23 04:19, bruce wrote: > > do I have to have a local user on my local linux as "bob".. pretty sure > I don't! but I'm not sure where the local ssh key should be placed, to > allow me to ssh into the remote using the key. Also, how doe

Re: selinux/ssh -- basic question

2020-03-22 Thread Ed Greshko
On 2020-03-23 04:36, Samuel Sieb wrote: > On 3/22/20 1:19 PM, bruce wrote: >>    on the remote VM, I want to create a user "bob". I also want to modify >> the remote to ssh into the VM as bob, using sshkeys >> >> do I have to have a local user on my local linux as "bob".. pretty sure I >> don't!

Re: selinux/ssh -- basic question

2020-03-22 Thread Ed Greshko
On 2020-03-23 04:19, bruce wrote: > do I have to have a local user on my local linux as "bob".. pretty sure I > don't! but I'm not sure where the local ssh key should be placed, to allow me > to ssh into the remote using the key. Also, how doe this process work when > accessing the remote from o

Re: selinux/ssh -- basic question

2020-03-22 Thread bruce
ok.. so there's a file that has bobs private key that I copy to the local server in the .ssh/ dir path.. so anyone who logs into the local user.. where I've copied the private key/file can access ssh bob@1.2.3.4 did I miss something? On Sun, Mar 22, 2020, 4:37 PM Samuel Sieb wrote: > On

Re: selinux/ssh -- basic question

2020-03-22 Thread Samuel Sieb
On 3/22/20 1:19 PM, bruce wrote:   on the remote VM, I want to create a user "bob". I also want to modify the remote to ssh into the VM as bob, using sshkeys do I have to have a local user on my local linux as "bob".. pretty sure I don't! but I'm not sure where the local ssh key should be pla

selinux/ssh -- basic question

2020-03-22 Thread bruce
Hi. Stepping into centos 7 -- selinux... I've got a basic question for ssh. Creating a new/base VM- digitalocean. I create the VM via the DO website, get a test IP Address 1.2.3.4 (I'm running on a local linux/centos) with a test user "fooUser" the VM creation process creates the root user with