Hi,
I had implemented the below logic and still with creating problem SSH tunnel. i can able to see ssh in task manager but when i see by using netstart. its not showing there as listening.
Could any one please help me out?
try
{
//String cmd="c:\\cygwin \\bin\\bash -c 'createSShTunne l.sh 55557 10.236.250.182 6301'";
int portNo=55557;
String address="10.236 .250.182";...
User Profile
Collapse
Profile Sidebar
Collapse
pkpalanisamy
Last Activity: Mar 23 '12, 11:48 AM
Joined: Mar 19 '12
Location:
-
-
How to get the LockBox creation done for RSA Encryption
Hi,
I had my java application using Lockbox. When I try to run the application I am getting below exception. The rsa property file has right information. I have also got my earlier identity record deleted from RSA config directory before I was trying to register again.
**** Check KM server, unexpected error: com.rsa.kmc.w.a i: com.rsa.kmc.Fai lException: Fail
Verify config check FAILED. Please correct any errors... -
see below script and java files:
script:
#!/bin/bash
ssh -o UserKnownHostsF ile=/dev/null -o StrictHostKeyCh ecking=no -q -N -T -L"${1}":"${2}": "${3}" svc_pos_client@ "${2}" &
java:
String cmd="D:\\cygwin \\bin\\bash -c './createSShTunnel .sh 55557 10.236.250.182 6301'";
Process p = Runtime.getRunt ime().exec(cmd) ;
BufferedReader...Leave a comment:
-
Thanks fir your valuable reply.
Could you or any one can send me some sample code how to go ahead with this?
Thank you...Leave a comment:
-
Thanks fir your valuable reply.
Could you or any one can send me some sample code how to go ahead with this?
Thank you...Leave a comment:
-
Using SSH in Java
I have to forward my data from one port to another port by secure way(ssh packet). This should happen from local machine to server machine via port. so I used ssh tunnel to achieve this.
The logic behind is send the command to create SSH tunnel from client to server, create socket and then try connect the same. so when i use below command through command prompt to create ssh tunnel and then everything fine if i run same command in...Last edited by Frinavale; Mar 19 '12, 04:29 PM. Reason: Added code tags, markup for indicating the error message, and added indentation to posted code.
No activity results to display
Show More
Leave a comment: