ssh -- from local/userA --> remote/userB

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

 



Hi.

Sorry to even ask htis basic question.

I'm trying to do something like:
 userA: ssh userB@1.2.3.4

so I'm on the local box as userA

trivially .. ssh userA@1.2.3.4 works as it should with the pub/private
keys established as required.

However, I'm "confused" (missing something) regarding how to ssh into
the remote box as a different user.

Do I have to have a separate /home/userB/.ssh on both the local and remote box?

Does the local "userA" /home/userA/.ssh/config need to be changed to
accomodate some items for the userB?

currently, running
userA   -- ssh userB@1.2.3.4

gets
key_read: uudecode
AAAAB3NzaC1yc2EAAAABIwAAAQEArGwWyWyDoO2rlXVg6MjVlAXg8zbzwuNtRaNn9OILVY+YhzAQGmCG5XkQT6ZRICkMfgNo3dAHUtKZsq0nVCdcgCabP
 failed

but I am in the remote box as userB.

Haven't found anything on the net to solve this.. which is odd!

thanks
_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html
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