ssh and remote sudo not hiding password
Siggy Brentrup
bsb at xlab.net
Fri Nov 6 22:41:45 UTC 2009
On Fri, Nov 06, 2009 at 21:46 +0000, Colin Law wrote:
> I can shut down a remote machine by connecting via ssh then shutting it down
> ssh ip_address
> <logon messages>
> sudo shutdown -h now
> password: (entered pwd not visible)
Did you ry the -t flag to ssh like this:
% ssh -t REMOTE sudo echo murx
[sudo] password for bsb:
Sorry, try again.
[sudo] password for bsb:
murx
Connection to REMOTE closed.
%
Sorry that I don't shutdown that machine ;) And yes, I'm always using
ssh keys.
HTH
Siggy
More information about the ubuntu-users
mailing list