User Profile

Collapse

Profile Sidebar

Collapse
pkpalanisamy
pkpalanisamy
Last Activity: Mar 23 '12, 11:48 AM
Joined: Mar 19 '12
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • pkpalanisamy
    replied to Using SSH in Java
    in Java
    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";...
    See more | Go to post

    Leave a comment:


  • Still I am on the same page.
    Can any one please help me out?
    See more | Go to post

    Leave a comment:


  • 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 more | Go to post

  • pkpalanisamy
    replied to Using SSH in Java
    in Java
    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...
    See more | Go to post

    Leave a comment:


  • pkpalanisamy
    replied to Using SSH in Java
    in Java
    Thanks fir your valuable reply.
    Could you or any one can send me some sample code how to go ahead with this?

    Thank you...
    See more | Go to post

    Leave a comment:


  • pkpalanisamy
    replied to Using SSH in Java
    in Java
    Thanks fir your valuable reply.
    Could you or any one can send me some sample code how to go ahead with this?

    Thank you...
    See more | Go to post

    Leave a comment:


  • pkpalanisamy
    started a topic Using SSH in Java
    in Java

    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...
    See more | Go to post
    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
Working...