Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

connect unix from windows java program  RSS feed

 
sammeta Phanikumar
Ranch Hand
Posts: 81
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I want to connect to Remote unix box from java program which is in windows os.

I have tried using plink.exe of putties. But it just creating a session ...but that does not ending..going in infinite loop.

please help me how to connect to unix box and run a shell script and then i want control back to windows.

Thanks in advance.

Phani
 
Oleg Tikhonov
Ranch Hand
Posts: 55
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello,
I use this one

Hope it helps,
Oleg.
 
sammeta Phanikumar
Ranch Hand
Posts: 81
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Oleg,

Thanks for your reply. I have a doubt here.....can we run commands on unixbox using this?

PHani
 
Oleg Tikhonov
Ranch Hand
Posts: 55
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yes you can .
Please look at examples here.
I use it in my environment and it works fine.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!