How can I connect to an SSH server in Java? I don\'t need/want a shell. I just want to connect to the SSH server and get the content of, say, file.txt. How can
file.txt
You could check JSSH, which is a Java SSH library.