1

I am sort of new to this but even if someone could tell me how to connect to a unix box remotely using Java I think I could get the rest.

BalusC
  • 1,040,783
  • 362
  • 3,548
  • 3,513
Landister
  • 2,084
  • 7
  • 38
  • 54

5 Answers5

2

If an ssh connection would be fine for you, have a look at JSch.

Costi Ciudatu
  • 35,138
  • 6
  • 55
  • 91
1

Check this out:

http://javassh.org/space/start

It's under GPL license.

Alfredo Osorio
  • 10,997
  • 11
  • 52
  • 81
0

There are a number of Java SSH clients you could use:

Paul Cager
  • 1,892
  • 14
  • 21
0

I assume you want to open a session on ssh to a UNIX machine. In that case, you may want to have a look at JSch

MarcoS
  • 13,110
  • 6
  • 39
  • 62
0

Why do you need to use Java? Most likely you can just ssh using gitbash, putty, a terminal. It depends on your environment.

However if you need to do this from within Java take a look at this.

Community
  • 1
  • 1
John Kane
  • 4,315
  • 1
  • 26
  • 40