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,082,665
  • 372
  • 3,610
  • 3,555
Landister
  • 2,194
  • 7
  • 38
  • 56

5 Answers5

2

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

Costi Ciudatu
  • 37,042
  • 7
  • 56
  • 92
1

Check this out:

http://javassh.org/space/start

It's under GPL license.

Alfredo Osorio
  • 11,297
  • 12
  • 56
  • 84
0

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

Paul Cager
  • 1,910
  • 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,386
  • 7
  • 42
  • 63
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,383
  • 1
  • 24
  • 42