Unable to send two authentication using plink

Microsoft Windows 7 professional - upgra...
July 8, 2010 at 23:45:39
Specs: Windows XP
I am trying to connect to root user using plink and i get access denied message.

Manual steps to logint o linux box: To login to our linux box, i use the below setps.
1. username: admin and password: pass
2. username: su - and password: pass

As root user, i need to run some commands.
plink is able to establish connection to admin user and run command, but it does not run the same command as root user.
Eg:
Plink.exe -ssh -l username -pw password machineName ls ==> this works fine. But i wanto run the same command as root user.

Can you please help me?

Thanks in advance.


See More: Unable to send two authentication using plink

Report •

#1
July 9, 2010 at 05:20:12
I'm unfamiliar with plink but is there any reason not to connect with Putty and then run your commands?

It matters not how straight the gate,
How charged with punishments the scroll,
I am the master of my fate;
I am the captain of my soul.

***William Henley***


Report •

#2
July 9, 2010 at 13:10:25
You don't connect to root ever. You connect to a very limited user that is on sudoers file. Then run your command. Many distro's won't let you connect to root.

I support the 'Everybody Draw Mohammed Day'. A religion doesn't deny my freedom.


Report •
Related Solutions


Ask Question