Comments (6)
I am facing the same problem
I want to do the folowing thing like sudo su - <UserName>.it will prompt for a
password.To avoid the prompting i am using like this sudo -S su - netaware.
The method works well in command prompt but in ssh execute.it is getting stuch
with the following log.
trying to connect
SSHExec initializing ...
Session initialized and associated with user credential password
SSHExec initialized successfully
SSHExec trying to connect user@host
SSH connection established
Command is sudo -S su - user
Connection channel established succesfully
Start to run command
Original comment by [email protected]
on 10 Sep 2013 at 2:01
from sshxcute.
Please somebody reply i need to quickly figure out a solution.I am using putty
as a terminal
Original comment by [email protected]
on 10 Sep 2013 at 2:03
from sshxcute.
try with "echo sudo su"
Original comment by [email protected]
on 15 Nov 2013 at 12:03
from sshxcute.
After connecting with "echo sudo username", how to enter passwrod for username
through java code
Original comment by [email protected]
on 7 Dec 2013 at 3:58
from sshxcute.
Hi raja.sek
were you able to solve this problem, i am facing the same kind of prob.
Original comment by [email protected]
on 3 Jun 2014 at 7:15
from sshxcute.
Do any one know solution for this problem yet?
Original comment by [email protected]
on 13 May 2015 at 7:48
from sshxcute.
Related Issues (20)
- Can I close connection to a server and open connection to another server in my Java program using sshxcute?
- uploadAllDataToServer is throwing error HOT 1
- Why SSHxcute is a singleton class? HOT 1
- Error message: ksh cannot execute
- Sudo in sshxcute is not happening HOT 2
- exec function of SSHExec class not working correctly when used with Servlet HOT 3
- ssh.exec cannot return the result when the command have rpm operation
- Cannot exec multiple commands while connected to catalyst switch
- Logger threshold setting issue
- Executes a bash script remotely but unable to input to it after execution
- sshxcute not working for shellscripts cllaing another shell scripts
- Though connection refused test is passed
- SBC device shown connected successfully BUT SBC command not getting executed successfully...showing error code -1
- What groupID and artifactID to include when using with play framework
- program doesn't wait for login banner to complete
- Connection operation does not succed with "Kerberos username [m.a]:" output in Eclipse
- unable to find jar file when running thru sshxcute
- download feature
- How to use sshxcute to connect to remote server using private key
- sshxcute fails whereas direct unix login and execution of ksh is working fine
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sshxcute.