• Post Reply Bookmark Topic Watch Topic
  • New Topic

Run command line remotely  RSS feed

 
Hamzah Khamash
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello all,
Is it possible in java to create a class that aims to execute command line on another machine inside my network ?
 
Maneesh Godbole
Bartender
Posts: 11445
18
Android Eclipse IDE Google Web Toolkit Java Mac Ubuntu
 
Ulf Dittmer
Rancher
Posts: 42972
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If you're talking about an SSH connection, https://code.google.com/p/sshxcute/ is pretty neat (it uses JSch underneath).
 
Richard Tookey
Bartender
Posts: 1166
17
Java Linux Netbeans IDE
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Of course the SSH solutions do require that an SSH server is installed on the other machine!
 
Ron McLeod
Bartender
Posts: 1602
232
Android Angular Framework Eclipse IDE Java Linux MySQL Database Redhat TypeScript
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hamzah Khamash wrote:Is it possible in java to create a class that aims to execute command line on another machine inside my network ?

What is the operating system on the other machine? Are you able to install applications on it?
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!