Is there a way that once I'm SSH'd over to a server I can su into another account without needing to no that persons account password. Ideally it would be great if all I had to do was transfer the 1st accounts pub key into the 2nd accounts auth keys file to enable the 1st account ability to su into the 2nd account.
The whole login sinario would look something like:
%> ssh user1@server1.com
* RSA Keyed used to login
%> su user2
* No password used. ssh-agent or whatever used my key to log me in
Bookmarks