Reading contents of files over SSH connection in java

F

Farhang Farid

Hello everybody

I hope somebody can help me with my question,I am using the MINDTERM
API to connect to a ssh server. For now I can connect to the server
with no problem. I am just wondering if there is anyway for me to read
contents of files and directories over the ssh channel, If so how is
that possible? do i need to download the files through sftp first? or i
can read the files directly on the ssh server. I appreciate if somebody
can help me with this probelm.

Thanx in advance

Farhang Farid
 
K

knightowl

If you are connecting to a unix machine could use issue the cat
command, or find, and process the buffer command execution
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,580
Members
45,054
Latest member
TrimKetoBoost

Latest Threads

Top