Re: ssh question

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

 



On 3/26/20 6:19 PM, bruce wrote:
> Hey.
>
> My apologies. I now I've asked this/solved this before. can't
> findwhere I placed the  soln.
>
> I have a remote VM. I've created a private/public ssh key for user
> 'bob' The public key is in the required location on the remote VM.
>
> On my normal local box,, logged in as user 'bob' I have the private
> key. I can login as user bob -
>   ssh bob@remoteServer1
> this works, no prob.
>
> My question
>  If I'm on user "linda"s machine, logged in as linda, what do I need
> to do to be able to ssh into the remote server as user 'bob'??
>
> Do I place the private key of user 'bob' in the required ssh file
> within user linda's ssh dir?
>
> Which implies that I then need to remove the private key once I leave
> if I don't want linda accessing the remote box later on..
>
> thanks
>
>
>
Dear Bruce,

Yes you need to copy your private key to .ssh and then do a normal ssh
bob@remoteserver. If your key has a passphrase protection you might
consider it safe enough as Linda won't be able to log in to remoteserver
and remoteserver will still be well secured.

Else, yes, you will need to remote that key if you don't want Linda to
be able to log in remoteserver.

Fred
_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/users@xxxxxxxxxxxxxxxxxxxxxxx



[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux