good chemistry is complicated, and a little bit messy -LW |
|
PerlMonks |
comment on |
( [id://3333]=superdoc: print w/replies, xml ) | Need Help?? |
something I really don't get is:
"Why ssh to a remote machine (as a regular user), THEN su to root?"Assuming the user is "hossman" on both machines, you're doing this... hossman@client =ssh=> hossman@server =su=> root@server Why not do this instead... hossman@client =ssh=> root@server (sudo is nice because it eliminates the need for hossman to know the root password on server, but the same thing could be accomplished using ssh keys.) In reply to Re: Re: Re: Net::SSH::Perl and su
by hossman
|
|