Reverse SSH tunnel with JSCH Java [closed] - java

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 8 years ago.
Improve this question
Is it possible to do a reverse ssh connection using JSCH? If it is not, is there any other pure Java library that I can use to do a reverse tunnel SSH connection?
The command I want to mimic is similar than:
ssh -fN -R 7000:localhost:22 username#yourMachine-ipaddress

There is an example gist that shows how to do it here:
https://gist.github.com/ymnk/2318108#file-portforwardingr-java
The method you want to look at is session.setPortForwardingR()
session.setPortForwardingR(rport, lhost, lport);

Related

Sensors for Raspberry PI accessable from Java [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 7 years ago.
Improve this question
i want to use some sensors for the RPi which i can access with java.
can i use any sensors that I connect to the GPIO?
e.g.: sunfounder starter kit?
http://www.amazon.com/Sunfounder-Raspberry-Extension-H-Bridge-7-Segment/dp/B00P2E9W30/ref=sr_1_2?ie=UTF8&qid=1434575352&sr=8-2&keywords=raspberry+pi+sunfounder
thank you for your answers ;)
You can use Pi4J to use "devices" connected to the GPIO

Java Telnet and SSH library [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 8 years ago.
Improve this question
I need to make a Telnet and SSH connection in java (similar to the one we have in Putty).
Can you suggest me a good Java library that support both Telnet and SSH?
If somebody can also give me some code example it will be wonderful.
Why do you need one library for both?!
SSH:
http://www.jcraft.com/jsch/
Telnet:
http://commons.apache.org/proper/commons-net/

C++ network library similar to Netty [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 3 years ago.
Improve this question
Is there any C++ network library similar to JBoss's Netty? I need an architecture where I can add protocol handlers to a list and process network packets as objects.
I have used ACE although I wasn't especially happy with it.
I have used LibSoup, which is a C http client and server library. It has a c++ libsoupmm.

SSH Java-library for Android? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 4 years ago.
Improve this question
I'm trying to create an app for Android that simply sends a command to an SSH server. No response needed, I just need to be able to send a command. I was wondering if there's any java library out there that I could use?
No advanced stuff needed, just a pure connection to send the command.
You are searching for JSch.
Other libs are jaramiko, paramiko, trilead-ssh2 . A place where you can browse the source for trilead is the connectbot project. Please notice that connectbot also uses this unmaintained lib.
It also exists a commercial SSH Java lib: J2SSH Maverick
Note: Answer refactored due to comment.

Do you know a user management project in Java? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 7 years ago.
Improve this question
I'm looking for a lightweight and easy to install user management system made in JAVA. It should use a free Database System (MySQL for example) and handle basic security after logging (access or not with error message). I'm not looking for anything fancy/flexible like SpringSecurity.
Thank you!
I think OpenLdap would meet your requirements although not written in java, but which db other then derby is written in java?
Here is a tutorial how you access it using JNDI.

Categories