This week's giveaway is in the Spring forum.
We're giving away four copies of Learn Spring Security (video course) and have Eugen Paraschiv on-line!
See this thread for details.
Win a copy of Learn Spring Security (video course) this week in the Spring forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

connect unix from windows java program

 
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