473,327 Members | 2,081 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,327 software developers and data experts.

SSH Question

281 100+
Good day all!
Do I have to make a new topic if my question is in the same issue;)?

I just installed SSH Secure Shell & created profiles into my XP machine.
Then my lecturer has asked me to transfer our program into it and run it using Linux. I'm totally blurred about Linux and have very basic knowledge to operate from SSH & Linux.

My questions are:
1. How am I supposed to install the program (open source from SourceForge) using SSH
2. How about install it in Linux then?

I don't know whether I have explained the questions clearly but please tell me what should I do in steps. Feel free to give any comments.

Thanks all.

Sherry
Feb 16 '07 #1
19 2687
shana07
281 100+
Good Day all!

Please teach or share with me any tutorials on how to operate Linux from SSH. Actually I'm confused after my lecturer has asked me to install a java program (opensource) into Linux from SSH. I'm using XP.
What shall I do....and sorry to ask this question 'what's the relation between Linux & SSH' into my XP machine? ;)

thanks guys...
Feb 16 '07 #2
SSH stands for Secure SHell - it's a secure, remote text-shell (like the Windows cmd prompt) that you can safely use over the internet. It encrypts everything sent between the client and the server, even passowrds.

You'd need to get an SSH client installed (check on sourceforge) in order to log in to your remote server. When you first contact a server, the two machines exchange encryption keys, and after that, all comms are encrypted.

What SSH will do is allow you to get a remote command window to the linux server, from your windows machine. You can then enter commands at the terminal, which are run by the linux machine - such as installing or running a program.

hth
-cybervegan
Feb 16 '07 #3
Motoma
3,237 Expert 2GB
shana07,
I have merged your two related questions into one thread.
Feb 16 '07 #4
Motoma
3,237 Expert 2GB
SSH is both a tool and a Protocol. The most common use for SSH is to connect to a remote machine (server) from your local computer (client). This allows you to utilize all of the functionality of your server, without needing to physically be in front of it.

When you professor instructed you to install a Java program in Linux, I am assuming he/she provided you with the following things: a server, a username, and a password.

You will need to download an SSH client (PuTTY and Poderosa are both excellent choices) and use the server address, username, and password to log in.

You will then need to use either wget or curl to download the program.

You can type 'man wget' or 'man curl' to get more information on these two tools.

After having downloaded your application, you will need to read it's specific documentation and follow the installation instructions.

May I ask what application you were instructed to download and install? And what class this is for?
Feb 16 '07 #5
shana07
281 100+
SSH stands for Secure SHell - it's a secure, remote text-shell (like the Windows cmd prompt) that you can safely use over the internet. It encrypts everything sent between the client and the server, even passowrds.

You'd need to get an SSH client installed (check on sourceforge) in order to log in to your remote server. When you first contact a server, the two machines exchange encryption keys, and after that, all comms are encrypted.

What SSH will do is allow you to get a remote command window to the linux server, from your windows machine. You can then enter commands at the terminal, which are run by the linux machine - such as installing or running a program.

hth
-cybervegan
Understood about the SSH now. thanks to you..
Feb 16 '07 #6
shana07
281 100+
shana07,
I have merged your two related questions into one thread.
No worries and thanks
Feb 16 '07 #7
shana07
281 100+
oh god. i can't reply mssg here. testing
Feb 17 '07 #8
shana07
281 100+
Motoma,
I tried to reply mssg many times but couldn't get through.
Already removed some chars (sensitive) but still...
Help please....I need to reply to your mssg...
Feb 17 '07 #9
shana07
281 100+
friend, hope you could teach me on how to operate java in Linux now.seeming that I've downloaded my java application program - jpf4 from sourceforge...without use curl or wget. because I've been using the application for a couple of months in XP enviroment.

I have java application program in my created folder through SSH.
But I have no idea what to do to set the path, all those prerequisites such ANT, JUNIT in Linux. ....thanks a lot.
Feb 17 '07 #10
shana07
281 100+
It seems that I couldn't transfer some files into SSH.
I have successfully transferred some files like: java application program (hugh) & docs. I tried to transfer 1.7 apache-ant-1.7.0-bin.tar, curl-7.16.1 from my windows folder but it's not work. Any limitations about ssh?

The java application needs to be built with ant & also need junit.
Since I can't install ant, therefore I can't run the java program into linux machine..Need some advice please. thx
Feb 17 '07 #11
Motoma
3,237 Expert 2GB
I tried to transfer 1.7 apache-ant-1.7.0-bin.tar, curl-7.16.1 from my windows folder but it's not work. Any limitations about ssh?
What didn't work? What error messages were you getting?
Feb 17 '07 #12
shana07
281 100+
What didn't work? What error messages were you getting?
Status error while transferring Apache folder from my Windows.
I can see on the SSH window 'connected to my campus link - x.y.edu.au'.

My lecturer did ask me either I have set up class path (java & ant)?
Because inside the tool includes with ant. How to set up classpath in linux from ssh? thanks again....
Feb 17 '07 #13
Motoma
3,237 Expert 2GB
Status error while transferring Apache folder from my Windows.
I can see on the SSH window 'connected to my campus link - x.y.edu.au'.

My lecturer did ask me either I have set up class path (java & ant)?
Because inside the tool includes with ant. How to set up classpath in linux from ssh? thanks again....
What SSH client are you using?
Feb 17 '07 #14
shana07
281 100+
SSH Secure Shell (TM) - non commercial version.
Version 3.2.5.
Supplied by my lecturer
Feb 17 '07 #15
shana07
281 100+
could you please teach me how to set CLASSPATH in unix from SSH.
As I have tried this:
Expand|Select|Wrap|Line Numbers
  1. $ export CLASSPATH=/mytool/myfolder
  2.  
  3. comes out:
  4. CLASSPATH=/mytool/myfolder: is not an identifier.
  5.  
What could be the reason.....?
Feb 17 '07 #16
Motoma
3,237 Expert 2GB
What you want is:
Expand|Select|Wrap|Line Numbers
  1. $ export CLASSPATH="/mytool/myfolder"
  2.  
Feb 17 '07 #17
shana07
281 100+
sorry, still the same.
....is not an identifier
Feb 17 '07 #18
Motoma
3,237 Expert 2GB
sorry, still the same.
....is not an identifier
Wait, is that an error from the export command or something else...?
Feb 17 '07 #19
shana07
281 100+
Wait, is that an error from the export command or something else...?
Yes, from the export command
Feb 17 '07 #20

Sign in to post your reply or Sign up for a free account.

Similar topics

1
by: Mohammed Mazid | last post by:
Can anyone please help me on how to move to the next and previous question? Here is a snippet of my code: Private Sub cmdNext_Click() End Sub Private Sub cmdPrevious_Click() showrecord
3
by: Stevey | last post by:
I have the following XML file... <?xml version="1.0"?> <animals> <animal> <name>Tiger</name> <questions> <question index="0">true</question> <question index="1">true</question> </questions>
7
by: nospam | last post by:
Ok, 3rd or is it the 4th time I have asked this question on Partial Types, so, since it seems to me that Partial Types is still in the design or development stages at Microsoft, I am going to ask...
3
by: Ekqvist Marko | last post by:
Hi, I have one Access database table including questions and answers. Now I need to give answer id automatically to questionID column. But I don't know how it is best (fastest) to do? table...
10
by: glenn | last post by:
I am use to programming in php and the way session and post vars are past from fields on one page through to the post page automatically where I can get to their values easily to write to a...
10
by: Rider | last post by:
Hi, simple(?) question about asp.net configuration.. I've installed ASP.NET 2.0 QuickStart Sample successfully. But, When I'm first start application the follow message shown. ========= Server...
53
by: Jeff | last post by:
In the function below, can size ever be 0 (zero)? char *clc_strdup(const char * CLC_RESTRICT s) { size_t size; char *p; clc_assert_not_null(clc_strdup, s); size = strlen(s) + 1;
56
by: spibou | last post by:
In the statement "a *= expression" is expression assumed to be parenthesized ? For example if I write "a *= b+c" is this the same as "a = a * (b+c)" or "a = a * b+c" ?
2
by: Allan Ebdrup | last post by:
Hi, I'm trying to render a Matrix question in my ASP.Net 2.0 page, A matrix question is a question where you have several options that can all be rated according to several possible ratings (from...
3
by: Zhang Weiwu | last post by:
Hello! I wrote this: ..required-question p:after { content: "*"; } Corresponding HTML: <div class="required-question"><p>Question Text</p><input /></div> <div...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.